:root {
  --bg: #ffffff;
  --surface: #f4f6ff;
  --surface-strong: #eaf0ff;
  --indigo-900: #1d2d72;
  --indigo-800: #2b3f93;
  --indigo-700: #3d56bb;
  --indigo-600: #4f67d4;
  --ink: #111a3a;
  --ink-soft: #4d577f;
  --line: #d6dcf3;
  --ok: #2e4cb8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.lp-page {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.section {
  scroll-margin-top: 96px;
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f9faff 0%, #f3f6ff 100%);
}

.eyebrow {
  margin: 0;
  color: var(--indigo-700);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--indigo-900);
}

.section-intro {
  margin: 14px 0 0;
  max-width: 880px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214, 220, 243, 0.8);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
}

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

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-nav a {
  color: var(--indigo-900);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

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

.site-nav a.is-active {
  color: var(--indigo-600);
  font-weight: 700;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-contact {
  color: #ffffff;
  background: linear-gradient(90deg, #2f67c8 0%, #35a9d6 55%, #4bc9dd 100%);
  border: 0;
  box-shadow: none;
  outline: 0;
  background-clip: padding-box;
  overflow: hidden;
}

.btn-contact:focus,
.btn-contact:focus-visible {
  outline: 0;
  box-shadow: none;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--indigo-700) 0%, var(--indigo-600) 100%);
  box-shadow: 0 10px 22px rgba(44, 67, 154, 0.24);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-ghost {
  color: var(--indigo-900);
  border-color: #b8c5f0;
  background: #ffffff;
}

.btn-ghost:hover {
  background: #f6f8ff;
}

.hero {
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--indigo-900);
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
  display: grid;
  gap: 0.12em;
  text-wrap: pretty;
}

.hero-lead span {
  display: block;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(34, 52, 122, 0.12);
  background: #ffffff;
  aspect-ratio: 1243 / 609;
}

.hero-photo-mobile {
  display: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 36px rgba(34, 52, 122, 0.08);
}

.hero-card h2 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--indigo-900);
}

.hero-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.hero-card li {
  margin-top: 7px;
}

.hero-kpis {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.hero-kpis > div {
  border: 1px solid #d9e1fb;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
}

.hero-kpis span {
  color: #6070a8;
  font-size: 0.85rem;
}

.hero-kpis strong {
  display: block;
  margin-top: 2px;
  color: var(--indigo-900);
  font-size: 1.24rem;
  line-height: 1.2;
}

#pain {
  background: linear-gradient(180deg, #f2f2ee 0%, #ffffff 52%);
}

.pain-visual-shell {
  width: min(1100px, calc(100% - 24px));
}

.pain-visual {
  position: relative;
}

.pain-panel {
  position: relative;
  overflow: hidden;
}

.pain-panel-before {
  padding: clamp(34px, 5vw, 58px) clamp(16px, 4vw, 42px) clamp(42px, 5vw, 62px);
  background: linear-gradient(180deg, #d9d9d7 0%, #d2d2cf 100%);
  border-radius: 42px 42px 0 0;
}

.pain-panel-before::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 3% 40%, rgba(255, 255, 255, 0.58) 0 7px, transparent 8px),
    radial-gradient(circle at 13% 8%, rgba(255, 255, 255, 0.6) 0 6px, transparent 7px),
    radial-gradient(circle at 26% 29%, rgba(255, 255, 255, 0.58) 0 8px, transparent 9px),
    radial-gradient(circle at 52% 10%, rgba(255, 255, 255, 0.54) 0 7px, transparent 8px),
    radial-gradient(circle at 67% 24%, rgba(255, 255, 255, 0.56) 0 6px, transparent 7px),
    radial-gradient(circle at 81% 8%, rgba(255, 255, 255, 0.56) 0 8px, transparent 9px),
    radial-gradient(circle at 95% 15%, rgba(255, 255, 255, 0.52) 0 7px, transparent 8px),
    radial-gradient(circle at 89% 46%, rgba(255, 255, 255, 0.6) 0 6px, transparent 7px),
    radial-gradient(circle at 73% 62%, rgba(255, 255, 255, 0.55) 0 7px, transparent 8px),
    radial-gradient(circle at 44% 74%, rgba(255, 255, 255, 0.56) 0 7px, transparent 8px),
    radial-gradient(circle at 20% 75%, rgba(255, 255, 255, 0.6) 0 8px, transparent 9px);
  pointer-events: none;
  opacity: 0.9;
}

.pain-panel-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: #1c1c1c;
  font-size: clamp(1.45rem, 3.3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.pain-cloud-layout {
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 42vw, 420px);
  margin-top: clamp(26px, 3.6vw, 44px);
}

.pain-cloud {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 26px);
  background: #ffffff;
  border-radius: 999px;
  color: #55545a;
  text-align: center;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.06);
}

.pain-cloud::before,
.pain-cloud::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
}

.pain-cloud::before {
  top: -18%;
  left: 14%;
  width: clamp(22px, 3.8vw, 42px);
  height: clamp(22px, 3.8vw, 42px);
  box-shadow:
    clamp(18px, 4vw, 42px) clamp(2px, 0.6vw, 6px) 0 clamp(6px, 0.8vw, 10px) #ffffff,
    clamp(54px, 7vw, 84px) 0 0 0 #ffffff;
}

.pain-cloud::after {
  right: 16%;
  bottom: -16%;
  width: clamp(18px, 3vw, 32px);
  height: clamp(18px, 3vw, 32px);
}

.pain-cloud p {
  margin: 0;
  font-size: clamp(0.7rem, 1.12vw, 1rem);
  font-weight: 700;
  line-height: 1.55;
}

.pain-cloud-one {
  top: 12%;
  left: 1%;
  width: min(27%, 236px);
}

.pain-cloud-two {
  top: 10%;
  left: 31%;
  width: min(28%, 244px);
}

.pain-cloud-three {
  top: 7%;
  right: 2%;
  width: min(31%, 270px);
}

.pain-cloud-four {
  top: 57%;
  left: 6%;
  width: min(25%, 216px);
}

.pain-cloud-five {
  top: 58%;
  left: 39%;
  width: min(29%, 254px);
}

.pain-burnout {
  position: absolute;
  right: 5%;
  top: 44%;
  z-index: 2;
  width: min(15%, 112px);
  color: #111111;
  transform: rotate(4deg);
}

.pain-burnout::before {
  content: "";
  position: absolute;
  left: 16%;
  bottom: 100%;
  width: 38%;
  height: 18%;
  border: 4px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-22deg);
  opacity: 0.95;
}

.pain-burnout-icon,
.pain-actor-icon,
.pain-ui-icon {
  display: block;
  width: 100%;
  height: auto;
}

.pain-process {
  position: relative;
  z-index: 1;
  margin-top: clamp(20px, 4vw, 38px);
}

.pain-process-label {
  margin: 0 0 18px;
  text-align: center;
  color: #1d1d1f;
  font-size: clamp(0.78rem, 0.96vw, 0.98rem);
  font-weight: 800;
}

.pain-process-rail {
  --result-width: clamp(132px, 28%, 230px);
  --process-gap: clamp(10px, 1.8vw, 22px);
  position: relative;
  min-height: clamp(220px, 31vw, 350px);
}

.pain-ladder {
  position: relative;
  width: calc(100% - var(--result-width) - var(--process-gap));
  min-height: inherit;
}

.pain-step {
  position: absolute;
  width: 34%;
  max-width: 210px;
  min-width: 76px;
}

.pain-step-1 {
  left: 0;
  bottom: 0;
  z-index: 1;
}

.pain-step-2 {
  left: 18%;
  bottom: 14%;
  z-index: 2;
}

.pain-step-3 {
  left: 36%;
  bottom: 28%;
  z-index: 3;
}

.pain-step-4 {
  left: 54%;
  bottom: 42%;
  z-index: 4;
}

.pain-block {
  position: relative;
  overflow: hidden;
  min-height: clamp(84px, 11vw, 122px);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.pain-block-tag {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 0.7vw, 10px) clamp(10px, 1vw, 14px);
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: clamp(0.54rem, 0.74vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pain-block-main {
  display: grid;
  grid-template-columns: clamp(36px, 26%, 58px) 1fr;
  align-items: stretch;
  min-height: inherit;
  margin-top: clamp(22px, 2.4vw, 32px);
}

.pain-block-icon {
  display: grid;
  place-items: center;
  padding: clamp(8px, 1vw, 14px);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.pain-ui-icon {
  width: clamp(18px, 2vw, 30px);
  height: clamp(18px, 2vw, 30px);
}

.pain-block-copy {
  padding: clamp(9px, 1.1vw, 14px) clamp(10px, 1.2vw, 16px);
  color: #ffffff;
}

.pain-block-copy strong {
  display: block;
  font-size: clamp(0.58rem, 0.88vw, 0.98rem);
  font-weight: 800;
  line-height: 1.28;
}

.pain-block-copy small {
  display: block;
  margin-top: 4px;
  font-size: clamp(0.46rem, 0.66vw, 0.74rem);
  line-height: 1.45;
}

.pain-block-cyan {
  background: linear-gradient(180deg, #5ad0f1 0%, #48bee3 100%);
}

.pain-block-lilac {
  background: linear-gradient(180deg, #d4b1ff 0%, #bc92ef 100%);
}

.pain-block-teal {
  background: linear-gradient(180deg, #18d0c7 0%, #10b6b0 100%);
}

.pain-block-amber {
  background: linear-gradient(180deg, #e0b63c 0%, #cf9822 100%);
}

.pain-actor {
  position: absolute;
  color: #111111;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.12));
}

.pain-step-1 .pain-actor-person,
.pain-step-2 .pain-actor-person,
.pain-step-after .pain-actor-robot {
  left: -22%;
  bottom: 6%;
  width: 30%;
}

.pain-step-2 .pain-actor-person.is-small,
.pain-step-after .pain-actor-robot.is-small {
  left: -18%;
  width: 26%;
}

.pain-step-4 .pain-actor-overload,
.pain-step-4 .pain-actor-celebrate {
  left: auto;
  right: -6%;
  bottom: 58%;
  width: 32%;
}

.pain-progress {
  position: absolute;
  width: 11%;
  height: 18px;
}

.pain-progress::before,
.pain-progress::after {
  content: "";
  position: absolute;
}

.pain-progress::before {
  left: 0;
  right: 10px;
  bottom: 3px;
  border-top: 4px solid currentColor;
  border-radius: 999px;
  transform: skewX(-22deg);
}

.pain-progress::after {
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  transform: rotate(45deg);
}

.pain-progress-red {
  color: #ff493d;
}

.pain-progress-green {
  color: #18bf63;
}

.pain-progress-rise-1 {
  left: 15%;
  bottom: 36px;
}

.pain-progress-rise-2 {
  left: 33%;
  bottom: 82px;
}

.pain-progress-rise-3 {
  left: 51%;
  bottom: 128px;
}

.pain-result {
  position: absolute;
  right: 0;
  top: clamp(18px, 3vw, 44px);
  width: var(--result-width);
  padding: clamp(12px, 1.5vw, 18px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.1);
}

.pain-result-before {
  border: 4px solid #ff5a4c;
}

.pain-result-after {
  border: 4px solid #19c969;
}

.pain-result-heading {
  margin: 0 0 10px;
  color: #2d2d35;
  font-size: clamp(0.62rem, 0.84vw, 0.9rem);
  font-weight: 800;
  line-height: 1.3;
}

.pain-result-row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
}

.pain-result-row + .pain-result-row {
  border-top: 1px solid #ececf2;
}

.pain-result-row span {
  color: #5c6277;
  font-size: clamp(0.48rem, 0.7vw, 0.78rem);
  font-weight: 600;
  line-height: 1.45;
}

.pain-result-row strong {
  font-size: clamp(0.96rem, 1.55vw, 1.56rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pain-result-before strong {
  color: #ff402e;
}

.pain-result-after strong {
  color: #0fb95d;
}

.pain-separator {
  position: relative;
  z-index: 2;
  width: clamp(48px, 6vw, 72px);
  height: clamp(48px, 6vw, 72px);
  margin: calc(clamp(48px, 6vw, 72px) * -0.5) auto calc(clamp(48px, 6vw, 72px) * -0.48);
  background: linear-gradient(180deg, #d2d2cf 0%, #ffffff 100%);
  transform: rotate(45deg);
}

.pain-panel-after {
  padding: clamp(70px, 8vw, 98px) clamp(16px, 4vw, 42px) clamp(48px, 6vw, 78px);
  background: #ffffff;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 32px 60px rgba(19, 26, 57, 0.08);
}

.pain-after-heading {
  margin: 0;
  text-align: center;
  color: #11131b;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.pain-after-copy {
  max-width: 580px;
  margin: 14px auto 0;
  color: #6f7487;
  text-align: center;
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.7;
}

.pain-brandline {
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #2355b6;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 800;
}

.pain-brand-mark {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #46d0ea 0%, #4474f7 100%);
  transform: rotate(45deg);
}

.pain-brand-mark::before,
.pain-brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 3px;
  background: inherit;
}

.pain-brand-mark::before {
  width: 8px;
  height: 8px;
  left: -6px;
  top: 3px;
}

.pain-brand-mark::after {
  width: 6px;
  height: 6px;
  right: -5px;
  bottom: 3px;
}

#pain {
  padding: 0;
  background: linear-gradient(180deg, #eef5ff 0%, #e9f2ff 100%);
}

.pain-intro-shell {
  width: 100%;
}

.pain-intro-stage {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 86px);
  padding: 88px 54px 42px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.pain-intro-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.82) 0 6px, transparent 7px),
    radial-gradient(circle at 33% 8%, rgba(255, 255, 255, 0.84) 0 8px, transparent 9px),
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.84) 0 8px, transparent 9px),
    radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.8) 0 5px, transparent 6px),
    radial-gradient(circle at 3% 54%, rgba(255, 255, 255, 0.82) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 69%, rgba(255, 255, 255, 0.8) 0 6px, transparent 7px);
  pointer-events: none;
}

.pain-intro-eyebrow {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pain-intro-title {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 10px auto 0;
  color: #171717;
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pain-intro-grid {
  position: relative;
  z-index: 1;
  min-height: 650px;
  margin-top: 38px;
}

.pain-bubble {
  position: absolute;
  margin: 0;
}

.pain-bubble-shape {
  display: block;
  width: 100%;
  height: auto;
}

.pain-bubble-copy {
  position: absolute;
  top: 54%;
  left: 50%;
  width: 58%;
  margin: 0;
  color: #4f4d57;
  text-align: center;
  font-size: clamp(0.92rem, 1.1vw, 1.14rem);
  font-weight: 700;
  line-height: 1.5;
  transform: translate(-50%, -50%);
}

.pain-bubble-copy span {
  display: block;
}

.pain-bubble-one {
  top: 72px;
  left: 6.5%;
  width: clamp(250px, 18vw, 310px);
}

.pain-bubble-two {
  top: 58px;
  left: 31.5%;
  width: clamp(335px, 23vw, 405px);
}

.pain-bubble-three {
  top: 76px;
  right: 6.5%;
  width: clamp(390px, 28vw, 470px);
}

.pain-bubble-four {
  top: 312px;
  left: 11%;
  width: clamp(300px, 22vw, 370px);
}

.pain-bubble-five {
  top: 318px;
  left: 43%;
  width: clamp(340px, 24vw, 420px);
}

.pain-worried {
  position: absolute;
  top: 348px;
  right: 11%;
  width: clamp(160px, 11vw, 200px);
  margin: 0;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.14));
}

.pain-worried img {
  display: block;
  width: 100%;
  height: auto;
}

.pain-before-stage {
  position: relative;
  overflow: visible;
  z-index: 2;
  padding: 18px 48px 110px;
}

.pain-before-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.78) 0 7px, transparent 8px),
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.78) 0 6px, transparent 7px),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.78) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.72) 0 6px, transparent 7px);
  pointer-events: none;
}

.pain-before-stage::after {
  content: none;
}

.pain-before-eyebrow,
.pain-before-title {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pain-before-grid {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pain-before-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 184px;
  padding: 10px 14px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 247, 0.95) 100%);
  border: 1px solid rgba(255, 146, 146, 0.56);
  box-shadow: 0 14px 28px rgba(215, 72, 72, 0.09);
}

.pain-before-card.is-warning {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 242, 240, 0.96) 100%);
}

.pain-before-step {
  display: block;
  padding: 0;
  color: #d14b4b;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pain-before-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 22px auto 0;
  width: auto;
  max-width: 82%;
  text-align: center;
}

.pain-before-card-head h3 {
  margin: 0;
  color: #5a2323;
  font-size: clamp(1.16rem, 1.3vw, 1.34rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.pain-before-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(207, 65, 65, 0.18);
}

.pain-before-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.pain-before-icon.is-cyan {
  background: linear-gradient(135deg, #ff8b8b 0%, #f25d5d 100%);
}

.pain-before-icon.is-violet {
  background: linear-gradient(135deg, #ff9faf 0%, #f06b82 100%);
}

.pain-before-icon.is-blue {
  background: linear-gradient(135deg, #ff8f80 0%, #ea5f53 100%);
}

.pain-before-icon.is-amber {
  background: linear-gradient(135deg, #ffb07e 0%, #f06f4b 100%);
}

.pain-before-card p {
  position: relative;
  z-index: 1;
  margin: 8px auto 0;
  max-width: 92%;
  color: #6a4b55;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
  letter-spacing: -0.01em;
}

.pain-before-copy-fixed {
  max-width: 94%;
  font-size: 0.9rem;
  line-height: 1.7;
}

.pain-before-copy-fixed span {
  display: block;
  white-space: normal;
}

.pain-before-human {
  position: absolute;
  top: -58px;
  left: 50%;
  width: 34px;
  margin: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.12));
  z-index: 3;
}

.pain-before-human.is-sad {
  width: 42px;
  top: -56px;
}

.pain-before-human img {
  display: block;
  width: 100%;
  height: auto;
}

.pain-before-results-lead {
  position: relative;
  z-index: 1;
  margin: 44px 0 14px;
  text-align: center;
  color: #ff2f43;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pain-before-results {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 802px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  border: 4px solid #ff4040;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 245, 245, 0.98) 100%);
  box-shadow: 0 20px 40px rgba(255, 93, 93, 0.12);
}

.pain-before-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
  transform: translateY(55.7%);
}

.pain-before-divider img {
  display: block;
  width: 100%;
  height: auto;
}

.pain-before-result-item {
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 93, 93, 0.24);
}

.pain-before-result-kicker {
  margin: 0;
  color: #9f2d2d;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pain-before-result-line {
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.pain-before-result-line span {
  color: #24262b;
  font-size: 0.98rem;
  line-height: 1.4;
}

.pain-before-result-line strong {
  flex: 0 0 auto;
  color: #ff3d3d;
  font-size: clamp(1.42rem, 2.3vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pain-after-solution,
.pain-after-stage {
  position: relative;
  background: #ffffff;
}

.pain-after-solution {
  z-index: 1;
  padding: 136px 48px 24px;
  text-align: center;
}

.pain-after-solution-title {
  margin: 0;
  color: #101322;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.pain-after-solution-title span,
.pain-after-solution-copy span {
  display: block;
}

.pain-after-solution-copy {
  margin: 18px auto 0;
  max-width: 760px;
  color: #5a6784;
  font-size: clamp(0.96rem, 1.14vw, 1.08rem);
  line-height: 1.8;
}

.pain-after-stage {
  overflow: hidden;
  padding: 18px 48px 96px;
}

.pain-after-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 14%, rgba(100, 206, 157, 0.16) 0 7px, transparent 8px),
    radial-gradient(circle at 87% 20%, rgba(112, 182, 255, 0.14) 0 6px, transparent 7px),
    radial-gradient(circle at 20% 72%, rgba(102, 219, 153, 0.12) 0 7px, transparent 8px),
    radial-gradient(circle at 76% 62%, rgba(125, 193, 255, 0.12) 0 6px, transparent 7px);
  pointer-events: none;
}

.pain-after-eyebrow,
.pain-after-title,
.pain-after-grid,
.pain-after-results-lead,
.pain-after-results {
  position: relative;
  z-index: 1;
}

.pain-after-eyebrow,
.pain-after-title {
  text-align: center;
}

.pain-after-title {
  margin: 10px auto 0;
  max-width: 900px;
  color: #171717;
  font-size: clamp(1.45rem, 2.55vw, 2.3rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.pain-after-grid {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pain-after-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 214px;
  padding: 10px 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 255, 251, 0.95) 100%);
  border: 1px solid rgba(130, 215, 173, 0.58);
  box-shadow: 0 14px 28px rgba(46, 168, 104, 0.08);
}

.pain-after-card.is-human-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 255, 250, 0.98) 100%);
}

.pain-after-step {
  display: block;
  padding: 0;
  color: var(--indigo-700);
  text-align: center;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pain-after-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 22px auto 0;
  max-width: 82%;
  text-align: center;
}

.pain-after-card-head h3 {
  margin: 0;
  color: #18265f;
  font-size: clamp(1.16rem, 1.3vw, 1.34rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.pain-after-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(34, 146, 98, 0.16);
}

.pain-after-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.pain-after-icon.is-teal {
  background: linear-gradient(135deg, #66e0d0 0%, #29baa4 100%);
}

.pain-after-icon.is-green {
  background: linear-gradient(135deg, #8ce570 0%, #42c96d 100%);
}

.pain-after-icon.is-mint {
  background: linear-gradient(135deg, #6fe0a4 0%, #2cbc7c 100%);
}

.pain-after-icon.is-mint img {
  width: 22px;
  height: 22px;
  transform: translateY(-2px);
}

.pain-after-icon.is-emerald {
  background: linear-gradient(135deg, #6de0ab 0%, #21b76e 100%);
}

.pain-after-card p {
  margin: 8px auto 0;
  max-width: 92%;
  color: #44506f;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
  letter-spacing: -0.01em;
}

.pain-after-actor {
  position: absolute;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.12));
  z-index: 3;
}

.pain-after-actor img {
  display: block;
  width: 100%;
  height: auto;
}

.pain-after-actor.is-research {
  top: -88px;
  width: 55px;
}

.pain-after-actor.is-list {
  top: -78px;
  width: 55px;
}

.pain-after-actor.is-mail {
  top: -82px;
  width: 74px;
}

.pain-after-actor.is-human {
  top: -55px;
  width: 50px;
}

.pain-after-results-lead {
  margin: 44px 0 14px;
  text-align: center;
  color: #1bb462;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pain-after-results {
  margin: 0 auto;
  max-width: 860px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  border: 4px solid #2fc970;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 255, 248, 0.98) 100%);
  box-shadow: 0 20px 40px rgba(46, 201, 112, 0.12);
}

.pain-after-result-item {
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(47, 201, 112, 0.26);
}

.pain-after-result-kicker {
  margin: 0;
  color: #198b46;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pain-after-result-line {
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.pain-after-result-line span {
  color: #24262b;
  font-size: 0.98rem;
  line-height: 1.4;
}

.pain-after-result-line strong {
  flex: 0 0 auto;
  color: #21b960;
  font-size: clamp(1.42rem, 2.3vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media (max-width: 1200px) {
  #pain {
    min-height: auto;
  }

  .pain-intro-stage {
    min-height: 760px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .pain-bubble-one {
    left: 3%;
  }

  .pain-bubble-two {
    left: 28%;
    width: clamp(310px, 29vw, 380px);
  }

  .pain-bubble-three {
    right: 3%;
    width: clamp(340px, 31vw, 430px);
  }

  .pain-bubble-four {
    top: 332px;
    left: 8%;
    width: clamp(280px, 26vw, 350px);
  }

  .pain-bubble-five {
    top: 338px;
    left: 38%;
    width: clamp(320px, 29vw, 390px);
  }

  .pain-worried {
    top: 368px;
    right: 7%;
    width: clamp(150px, 13vw, 180px);
  }

  .pain-before-stage {
    padding: 24px 28px 88px;
  }

  .pain-before-grid {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pain-before-card {
    overflow: hidden;
    height: auto;
    min-height: 0;
    padding: 18px 16px 18px;
  }

  .pain-before-card-head {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
  }

  .pain-before-icon {
    position: static;
    width: 48px;
    height: 48px;
  }

  .pain-before-card p {
    font-size: 0.94rem;
    line-height: 1.75;
    text-align: left;
    max-width: 100%;
  }

  .pain-before-copy-fixed {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .pain-before-copy-fixed span {
    white-space: normal;
  }

  .pain-before-human {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 92px;
    margin: auto 0 0 auto;
  }

  .pain-before-human.is-sad {
    width: 82px;
    top: auto;
  }

  .pain-after-solution {
    padding: 112px 28px 20px;
  }

  .pain-after-stage {
    padding: 18px 28px 72px;
  }

  .pain-after-grid {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pain-after-card {
    min-height: 0;
    padding: 18px 16px 18px;
  }

  .pain-after-card-head {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
  }

  .pain-after-icon {
    position: static;
    width: 48px;
    height: 48px;
  }

  .pain-after-card p {
    font-size: 0.94rem;
    line-height: 1.75;
    text-align: left;
    max-width: 100%;
  }

  .pain-after-actor {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: auto 0 0 auto;
  }

  .pain-after-actor.is-research,
  .pain-after-actor.is-list {
    width: 92px;
  }

  .pain-after-actor.is-mail {
    width: 112px;
  }

  .pain-after-actor.is-human {
    width: 82px;
  }

  .pain-after-results-lead {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .pain-after-results {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
    max-width: 100%;
  }

  .pain-after-result-item {
    padding: 16px;
  }
}

@media (max-width: 820px) {
  .pain-intro-shell {
    width: 100%;
  }

  .pain-intro-stage {
    min-height: 0;
    padding: 56px 14px 32px;
  }

  .pain-intro-title {
    max-width: 100%;
    margin-top: 4px;
  }

  .pain-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
    margin-top: 24px;
    align-items: start;
  }

  .pain-bubble,
  .pain-worried {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
  }

  .pain-bubble-one,
  .pain-bubble-two,
  .pain-bubble-three,
  .pain-bubble-four {
    width: 100%;
  }

  .pain-bubble-five {
    width: min(100%, 300px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .pain-worried {
    width: 92px;
    margin: 6px auto 0;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .pain-before-stage {
    padding: 24px 14px 72px;
  }

  .pain-before-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .pain-before-card {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .pain-before-card-head {
    max-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }

  .pain-before-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .pain-before-icon img {
    width: 30px;
    height: 30px;
  }

  .pain-before-card p {
    max-width: 100%;
    padding-right: 0;
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .pain-before-human {
    width: 84px;
    margin-top: 12px;
  }

  .pain-before-human.is-sad {
    width: 74px;
  }

  .pain-before-results-lead {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .pain-before-results {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
    max-width: 100%;
  }

  .pain-before-result-item {
    padding: 16px;
  }

  .pain-after-solution {
    padding: 92px 14px 20px;
  }

  .pain-after-solution-title {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  }

  .pain-after-solution-copy {
    font-size: 0.96rem;
  }

  .pain-after-stage {
    padding: 18px 14px 56px;
  }

  .pain-after-title {
    max-width: 100%;
    margin-top: 4px;
  }

  .pain-after-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .pain-after-card {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .pain-after-card-head {
    max-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }

  .pain-after-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .pain-after-icon img {
    width: 30px;
    height: 30px;
  }

  .pain-after-card p {
    max-width: 100%;
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .pain-after-actor.is-research,
  .pain-after-actor.is-list {
    width: 84px;
  }

  .pain-after-actor.is-mail {
    width: 98px;
  }

  .pain-after-actor.is-human {
    width: 74px;
    margin-top: 10px;
  }

  .pain-after-results-lead {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .pain-after-results {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
    max-width: 100%;
  }

  .pain-after-result-item {
    padding: 16px;
  }
}

@media (max-width: 560px) {
  #pain {
    padding: 0;
  }

  .pain-intro-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pain-bubble-five,
  .pain-worried {
    grid-column: auto;
    width: 100%;
    max-width: none;
  }

  .pain-worried {
    width: 88px;
  }

  .pain-bubble-copy {
    width: 62%;
    font-size: 0.8rem;
  }

  .pain-before-card-head {
    max-width: 100%;
    align-items: center;
  }

  .pain-before-card p {
    padding-right: 0;
    margin-top: 16px;
  }

  .pain-before-human {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 14px 0 0 auto;
  }

  .pain-before-result-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pain-after-solution {
    padding-top: 76px;
  }

  .pain-after-solution-copy span {
    display: inline;
  }

  .pain-after-card-head {
    max-width: 100%;
    align-items: center;
  }

  .pain-after-card p {
    margin-top: 16px;
  }

  .pain-after-actor {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 14px 0 0 auto;
  }

  .pain-after-result-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.a2a-steps {
  margin-top: 26px;
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#a2a .eyebrow,
#a2a .section-title {
  text-align: center;
}

.a2a-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
}

.a2a-step.is-reverse {
  grid-template-columns: 180px minmax(0, 1fr);
}

.agent-visual {
  margin: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #dbe4ff;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 47, 114, 0.12);
  display: grid;
  place-items: center;
  justify-self: center;
}

.agent-visual-blue {
  box-shadow:
    0 14px 28px rgba(31, 47, 114, 0.12),
    0 0 18px rgba(86, 168, 255, 0.35);
}

.agent-visual-purple {
  box-shadow:
    0 14px 28px rgba(31, 47, 114, 0.12),
    0 0 18px rgba(150, 120, 255, 0.35);
}

.agent-visual-green {
  box-shadow:
    0 14px 28px rgba(31, 47, 114, 0.12),
    0 0 18px rgba(104, 220, 160, 0.35);
}

.agent-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  box-sizing: border-box;
}

.agent-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(31, 47, 114, 0.08);
}

.agent-index {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--indigo-800);
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}

.agent-card h3 {
  margin: 8px 0 0;
  color: var(--indigo-900);
  font-size: 1rem;
}

.agent-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.process-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.step-card span {
  color: var(--indigo-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.step-card h3 {
  margin: 8px 0 0;
  color: var(--indigo-900);
  font-size: 1.05rem;
}

.step-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.case-compare {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-compare article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.case-compare h3 {
  margin: 0;
  color: var(--indigo-800);
  font-size: 1rem;
}

.case-compare p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.case-kpi-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(37, 56, 130, 0.08);
}

.case-kpi-card h3 {
  margin: 0;
  color: var(--indigo-900);
  font-size: 1.15rem;
}

.case-kpi-card dl {
  margin: 12px 0 0;
}

.case-kpi-card dl > div {
  padding: 10px 0;
  border-top: 1px solid #e0e6fb;
}

.case-kpi-card dt {
  color: #6070a8;
  font-size: 0.86rem;
}

.case-kpi-card dd {
  margin: 2px 0 0;
  color: var(--indigo-900);
  font-size: 1.16rem;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  justify-items: center;
}

.contact-layout > div {
  width: min(760px, 100%);
  text-align: center;
}

.contact-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.contact-form-embed {
  margin-top: 18px;
  text-align: left;
  overflow: visible;
}

.contact-form-embed iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
}

.contact-form-kairos {
  gap: 16px;
}

.contact-form-kairos > p:not(.contact-submit-row):not(.form-status) {
  margin: 0 0 -6px;
  color: var(--indigo-900);
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7f3;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-row {
  margin: 4px 0 0;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2549d3 0%, #16339d 100%);
  box-shadow: 0 18px 36px rgba(37, 73, 211, 0.24);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 40px rgba(37, 73, 211, 0.28);
}

.recaptcha-wrap {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.form-status {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
}

.form-status.is-success {
  color: #2b6a3d;
}

.form-status.is-error {
  color: #b24545;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: 2px solid #bcc9f7;
  outline-offset: 1px;
}

.download-page {
  background: #ffffff;
  color: var(--ink);
}

.download-main {
  position: relative;
  overflow: visible;
  background: #ffffff;
}

.download-main::before {
  content: none;
}

.download-section {
  padding: 44px 0 96px;
  position: relative;
  z-index: 1;
}

.download-container {
  max-width: 980px;
}

.download-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--indigo-900);
  letter-spacing: -0.02em;
}

.download-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.download-sub {
  margin: 12px 0 0;
  color: #6673a2;
  font-size: 0.98rem;
}

.download-form {
  margin-top: 0;
  display: grid;
  gap: 18px;
  overflow: visible;
}

.download-form iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
}

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

.download-field {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: #b7c7f2;
}

.download-field .required {
  color: #ff6b6b;
  margin-left: 4px;
}

.download-field input,
.download-field select,
.download-field textarea {
  width: 100%;
  border: 1px solid #dbe3fb;
  background: #f7faff;
  padding: 14px 18px;
  font-size: 1rem;
  font: inherit;
  color: #1a2036;
  box-shadow: 0 6px 16px rgba(10, 20, 60, 0.12);
}

.download-field input,
.download-field select {
  border-radius: 999px;
}

.download-field textarea {
  border-radius: 20px;
  min-height: 136px;
  resize: vertical;
}

.download-field input::placeholder {
  color: #a2aec7;
}

.download-field textarea::placeholder {
  color: #a2aec7;
}

.download-field input:focus,
.download-field select:focus,
.download-field textarea:focus {
  outline: 2px solid #7fa5ff;
  outline-offset: 2px;
}

.download-field-note {
  margin-top: -4px;
  font-size: 0.78rem;
  color: #8ea0d2;
}

.download-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 10px;
}

.download-submit {
  padding: 14px 34px;
  min-width: min(420px, 100%);
  text-align: center;
}

.download-actions .form-status {
  color: #c7d4f7;
}

.download-actions .form-status.is-error {
  color: #ff9b9b;
}

.download-actions .form-status.is-success {
  color: #88e4b0;
}

.download-page .recaptcha-wrap {
  display: flex;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid #d7e0f5;
  padding: 28px 0 34px;
  background: #ffffff;
}

.footer-logo {
  width: 170px;
  height: auto;
}

.footer-shell {
  display: grid;
  gap: 18px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.footer-btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #2f5aa6 0%, #2186b5 55%, #1aa1b6 100%);
  box-shadow: none;
  border: 0;
  background-clip: padding-box;
  overflow: hidden;
}

.footer-btn-outline {
  color: #1d7fa7;
  background: #ffffff;
  border: 1px solid #1aa1b6;
  justify-content: center;
  text-align: center;
}

.footer-btn-icon {
  display: inline-flex;
  align-items: center;
}

.footer-divider {
  height: 1px;
  background: #d9e1f5;
}

.footer-links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  color: #49557f;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a {
  color: inherit;
}

.footer-copy {
  margin: 4px 0 0;
  color: #6673a2;
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .site-nav {
    justify-self: start;
  }

  .header-download {
    justify-self: start;
  }

  .hero-grid,
  .a2a-step,
  .case-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .a2a-step.is-reverse {
    grid-template-columns: 1fr;
  }

  .a2a-step {
    justify-items: center;
    text-align: left;
  }

  .pain-panel-before,
  .pain-panel-after {
    border-radius: 32px 32px 0 0;
  }

  .pain-panel-after {
    border-radius: 0 0 32px 32px;
  }

  .pain-cloud-layout {
    min-height: 360px;
  }

  .pain-cloud-one {
    left: 0;
    width: 29%;
  }

  .pain-cloud-two {
    left: 29%;
    width: 29%;
  }

  .pain-cloud-three {
    right: 0;
    width: 33%;
  }

  .pain-cloud-four {
    left: 4%;
    width: 27%;
  }

  .pain-cloud-five {
    left: 38%;
    width: 31%;
  }

  .pain-process-rail {
    --result-width: 31%;
    min-height: 300px;
  }

  .pain-step {
    width: 36%;
  }

  .pain-result {
    top: 12px;
  }

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

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

  .footer-actions {
    width: 100%;
  }

  .footer-links {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .pain-visual-shell {
    width: min(100%, calc(100% - 12px));
  }

  .pain-panel-before {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pain-panel-after {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pain-panel-heading {
    font-size: clamp(1.24rem, 5.8vw, 2rem);
  }

  .pain-cloud-layout {
    min-height: 300px;
  }

  .pain-burnout {
    right: 2%;
    width: 17%;
  }

  .pain-process-rail {
    --result-width: 34%;
    --process-gap: 8px;
    min-height: 248px;
  }

  .pain-step {
    width: 38%;
  }

  .pain-progress {
    width: 10%;
  }

  .pain-result {
    border-width: 3px;
    border-radius: 14px;
    padding: 10px;
  }

  .pain-separator {
    width: 52px;
    height: 52px;
    margin: -26px auto -24px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1160px, calc(100% - 30px));
  }

  .section {
    padding: 72px 0;
  }

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

  .pain-panel-before,
  .pain-panel-after {
    border-radius: 24px 24px 0 0;
  }

  .pain-panel-after {
    border-radius: 0 0 24px 24px;
  }

  .pain-cloud-layout {
    min-height: 280px;
  }

  .pain-cloud {
    padding: 12px 12px;
  }

  .pain-cloud::before {
    box-shadow:
      18px 2px 0 6px #ffffff,
      42px 0 0 0 #ffffff;
  }

  .pain-cloud-one {
    width: 31%;
  }

  .pain-cloud-two {
    width: 31%;
  }

  .pain-cloud-three {
    width: 34%;
  }

  .pain-cloud-four {
    left: 2%;
    width: 29%;
  }

  .pain-cloud-five {
    left: 36%;
    width: 31%;
  }

  .pain-process-label {
    margin-bottom: 12px;
  }

  .pain-process-rail {
    --result-width: 35%;
    min-height: 220px;
  }

  .pain-step {
    width: 39%;
  }

  .pain-step-2 {
    left: 18%;
    bottom: 14%;
  }

  .pain-step-3 {
    left: 36%;
    bottom: 28%;
  }

  .pain-step-4 {
    left: 54%;
    bottom: 42%;
  }

  .pain-result-row {
    padding: 7px 0;
  }

  .hero-actions,
  .contact-form .btn {
    width: 100%;
  }

  .contact-submit {
    width: 100%;
  }

  .hero-actions .btn,
  .header-download {
    width: 100%;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .recaptcha-wrap {
    transform: scale(0.92);
    transform-origin: center;
  }

  .download-section {
    padding: 36px 0 72px;
  }

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

  .download-actions {
    justify-items: stretch;
  }

  .download-submit {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    gap: 24px;
  }

  .hero-photo-mobile {
    display: block;
    margin-top: 18px;
  }

  .hero-photo-desktop {
    display: none;
  }

  .hero-lead {
    display: block;
    max-width: 100%;
    line-height: 1.72;
    gap: 0;
  }

  .hero-lead span {
    display: inline;
  }

  .hero-lead span + span::before {
    content: " ";
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0;
    min-height: 72px;
    padding: 10px 0;
  }

  .brand {
    justify-self: start;
  }

  .brand img {
    width: 154px;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .a2a-steps {
    gap: 24px;
    margin-top: 22px;
  }

  .a2a-step,
  .a2a-step.is-reverse {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: stretch;
  }

  .a2a-step .agent-visual {
    order: 1;
    justify-self: center;
  }

  .a2a-step .agent-card {
    order: 2;
  }

  .agent-card {
    padding: 18px;
  }

  .agent-visual {
    width: 120px;
    height: 120px;
  }

  .pain-before-card,
  .pain-after-card {
    align-items: stretch;
    overflow: hidden;
  }

  .pain-before-step,
  .pain-after-step {
    align-self: center;
  }

  .pain-before-card-head,
  .pain-after-card-head {
    padding-right: 96px;
  }

  .pain-before-card p,
  .pain-after-card p {
    padding-right: 96px;
  }

  .pain-before-human,
  .pain-after-actor {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: auto;
    top: auto;
    margin: 0;
    transform: none;
  }

  .pain-before-human {
    width: 66px;
  }

  .pain-before-human.is-sad {
    width: 72px;
  }

  .pain-after-actor.is-research,
  .pain-after-actor.is-list {
    top: auto;
    width: 72px;
  }

  .pain-after-actor.is-mail {
    top: auto;
    width: 88px;
  }

  .pain-after-actor.is-human {
    top: auto;
    width: 68px;
  }

  .footer-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer-links a {
    text-decoration: none;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }

  .site-header {
    backdrop-filter: blur(8px);
  }

  .brand img {
    width: 148px;
  }

  #a2a .section-title,
  #process .section-title,
  .case-section-title {
    font-size: clamp(1.38rem, 8vw, 1.95rem);
  }

  .a2a-step {
    gap: 10px;
  }

  .agent-card {
    padding: 16px;
  }

  .agent-card h3 {
    font-size: 0.98rem;
  }

  .agent-card p {
    font-size: 0.9rem;
  }

  .agent-visual {
    width: 108px;
    height: 108px;
  }

  .pain-before-card,
  .pain-after-card {
    padding: 18px 16px;
  }

  .pain-before-card-head,
  .pain-after-card-head,
  .pain-before-card p,
  .pain-after-card p {
    padding-right: 84px;
  }

  .pain-before-card-head h3,
  .pain-after-card-head h3 {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .pain-before-card p,
  .pain-after-card p {
    font-size: 0.9rem;
    line-height: 1.68;
  }

  .pain-before-human {
    width: 58px;
    right: 12px;
    bottom: 12px;
  }

  .pain-before-human.is-sad {
    width: 64px;
  }

  .pain-after-actor {
    right: 12px;
    bottom: 12px;
  }

  .pain-after-actor.is-research,
  .pain-after-actor.is-list {
    top: auto;
    width: 64px;
  }

  .pain-after-actor.is-mail {
    top: auto;
    width: 76px;
  }

  .pain-after-actor.is-human {
    top: auto;
    width: 60px;
  }

  .download-section {
    padding: 28px 0 60px;
  }

  .download-container {
    max-width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    font-size: 0.88rem;
  }

  .footer-copy {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  html,
  body {
    scroll-behavior: auto;
  }

  .download-main::before {
    animation: none;
  }
}
@keyframes downloadGradientFlow {
  0% {
    background-position: 0% 50%;
    transform: translate3d(-2%, -1%, 0);
  }
  50% {
    background-position: 100% 50%;
    transform: translate3d(2%, 1%, 0);
  }
  100% {
    background-position: 0% 50%;
    transform: translate3d(-2%, -1%, 0);
  }
}
