/* ============================================
   求職者送客の窓口 — SaaS-style service site
   ============================================ */

:root {
  /* Brand */
  --brand-navy: #1a3a8a;
  --brand-navy-dark: #12286a;
  --brand-blue: #2357d8;
  --brand-blue-hover: #1b48bb;
  --brand-blue-soft: #eaf0ff;
  --brand-blue-tint: #f5f8ff;
  --gold: #f5b400;
  --gold-dark: #d99b00;
  --gold-soft: #fff7de;

  /* Neutrals */
  --ink: #0b1229;
  --ink-700: #1b2547;
  --text: #2d3658;
  --text-sub: #5a6584;
  --text-mute: #8891ad;
  --border: #e4e8f1;
  --border-soft: #eef1f7;
  --bg: #ffffff;
  --bg-soft: #f7f9fd;
  --bg-muted: #f1f4fa;

  /* Elevation (SaaS-soft, not dramatic) */
  --shadow-xs: 0 1px 2px rgba(14, 25, 60, 0.04);
  --shadow-sm: 0 1px 3px rgba(14, 25, 60, 0.06), 0 1px 2px rgba(14, 25, 60, 0.04);
  --shadow-md: 0 4px 14px rgba(14, 25, 60, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 25, 60, 0.12);
  --shadow-xl: 0 30px 70px rgba(14, 25, 60, 0.14);
  --shadow-blue: 0 10px 24px rgba(35, 87, 216, 0.22);
  --shadow-gold: 0 10px 24px rgba(245, 180, 0, 0.26);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.6, 0, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;
  font-feature-settings: "palt";
  color: var(--text);
  line-height: 1.8;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--brand-blue); color: #fff; }

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-tight { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-muted { background: var(--bg-muted); }

/* ============================================
   Typography
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-blue);
  border-radius: 50%;
}
.eyebrow-light {
  color: var(--gold-dark);
  background: var(--gold-soft);
}
.eyebrow-light::before { background: var(--gold); }

.heading-display {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.heading-xl {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.heading-lg {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.heading-md {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.heading-display .blue,
.heading-xl .blue,
.heading-lg .blue,
.heading-md .blue { color: var(--brand-navy); }
.heading-display .gold,
.heading-xl .gold,
.heading-lg .gold,
.heading-md .gold { color: var(--gold); }

.lead {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-sub);
  max-width: 680px;
}
.lead-center { margin: 0 auto; text-align: center; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(35, 87, 216, 0.3);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--brand-navy);
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { color: var(--brand-blue); }

.btn-sm { font-size: 0.85rem; padding: 10px 20px; }
.btn-lg { font-size: 1rem; padding: 17px 32px; }

.btn-arrow::after {
  content: '→';
  font-weight: 400;
  transition: transform 0.25s var(--ease-out);
  margin-left: 2px;
}
.btn:hover.btn-arrow::after { transform: translateX(3px); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s var(--ease-out);
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-xs);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 32px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.site-nav a:not(.btn):hover { color: var(--brand-blue); }
.site-nav .btn {
  margin-left: 8px;
}

.burger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  z-index: 102;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

/* ============================================
   Hero — editorial SaaS with duo portrait (hybrid)
   ============================================ */
.saas-hero {
  position: relative;
  overflow: hidden;
  margin-top: 68px;
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--brand-blue-tint) 0%, #fff 85%);
}
.saas-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(35, 87, 216, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.saas-hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.saas-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.saas-hero-content { max-width: 580px; padding-bottom: 40px; }
.saas-hero-content > * { animation: hero-fade 1s var(--ease-out) both; }
.saas-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.saas-hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.saas-hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.saas-hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.saas-hero-content > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero duo photo */
.hero-duo {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  justify-self: end;
  align-self: end;
  animation: hero-fade 1s var(--ease-out) 0.3s both;
}
.hero-duo img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(14, 25, 60, 0.08));
}
.hero-duo::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%; right: 8%;
  height: 42%;
  background: radial-gradient(ellipse at 50% 80%, rgba(35, 87, 216, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
  border-radius: 50%;
}
.hero-duo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,25,60,0.1) 0%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
  border-radius: 50%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 16px 6px 6px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}
.hero-badge .tag {
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.05em;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--ink);
  word-break: keep-all;
}
.hero-h1-boxed {
  gap: 14px;
  align-items: flex-start;
}
.hero-h1-box {
  display: inline-block;
  align-self: flex-start;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  padding: 14px 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.hero-h1-box-type {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--brand-navy);
  background: var(--brand-blue-tint);
  border: 2px solid var(--brand-navy);
  letter-spacing: 0.01em;
}
.hero-h1-box-type .gold { color: var(--gold-dark); }
.hero-h1-box-main {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--ink);
  background: var(--brand-navy);
  color: #fff;
  padding: 18px 36px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.01em;
}
.hero-h1-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--brand-navy);
  background: #fff;
  border: 1.5px solid var(--brand-navy);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.hero-h1-label .gold { color: var(--gold-dark); }
.hero-h1-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2.4s ease-out infinite;
}
.hero-h1-main {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Badge chips row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  letter-spacing: 0.02em;
}
.hero-badge-chip::before {
  content: '';
  width: 16px; height: 16px;
  background-color: var(--brand-blue-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232357d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-h1 .blue { color: var(--brand-navy); }
.hero-h1 .gold { color: var(--gold); }
.hero-h1 .underline-mark {
  position: relative;
  display: inline-block;
}
.hero-h1 .underline-mark::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 12px;
  background: var(--gold);
  opacity: 0.35;
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--text-sub);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  font-size: 0.82rem;
  color: var(--text-mute);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: '';
  width: 16px; height: 16px;
  background-color: var(--brand-blue-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232357d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* (hero portrait cutout no longer used — hero uses bg image instead) */
/* Floating stat card on portrait */
.hero-float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float-y 5s ease-in-out infinite;
  z-index: 2;
}
.hero-float-card.top {
  top: 32px;
  left: -32px;
}
.hero-float-card.bottom {
  bottom: 36px;
  right: -28px;
  animation-delay: 1.2s;
}
.hero-float-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-icon.gold {
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.hero-float-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero-float-text-label {
  font-size: 0.7rem;
  color: var(--text-mute);
  font-weight: 500;
}
.hero-float-text-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

/* ============================================
   Logo cloud
   ============================================ */
.logo-cloud {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.logo-cloud-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mute);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.logo-cloud-row {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  filter: grayscale(0.2);
  opacity: 0.8;
}
.logo-cloud-item {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

/* ============================================
   Metrics band
   ============================================ */
.metrics {
  padding: 80px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}
.metric + .metric::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.metric-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.metric-num .unit {
  font-size: 0.4em;
  color: var(--brand-blue);
  margin-left: 3px;
  font-weight: 700;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ============================================
   Services grid (SaaS cards)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}
.service-card-visual {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--brand-blue-tint) 0%, var(--bg-soft) 100%);
  border-radius: var(--r-lg);
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
}
.service-card-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.service-card-visual::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(35, 87, 216, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.service-card-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-card-visual img {
  transform: scale(1.04);
}
.service-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 20px;
}
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.service-card-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--bg-muted);
  border-radius: var(--r-sm);
  color: var(--text-sub);
  font-weight: 500;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: gap 0.25s var(--ease-out);
}
.service-card-link::after {
  content: '→';
  transition: transform 0.25s var(--ease-out);
}
.service-card:hover .service-card-link::after { transform: translateX(4px); }

.service-card.is-coming {
  opacity: 0.75;
  pointer-events: none;
  background: var(--bg-soft);
}
.service-card.is-coming .service-card-visual {
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card.is-coming .service-card-visual::before {
  content: 'COMING SOON';
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.2em;
}
.service-card.is-coming .service-card-link { color: var(--text-mute); }

/* ============================================
   Pain / problem awareness
   ============================================ */
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.pain-speech {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pain-quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: -0.005em;
  position: relative;
  padding-top: 16px;
}
.pain-quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--gold) 100%);
  border-radius: 2px;
}
.pain-quote .emph {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 1px 6px;
  border-radius: 4px;
}
.pains-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 56px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
}
.pains-arrow-chev {
  width: 48px; height: 48px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: bounce-y 2s ease-in-out infinite;
}
.pains-arrow-chev svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bounce-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================
   Alternating feature rows (SaaS style)
   ============================================ */
.feature-rows { display: grid; gap: 96px; margin-top: 64px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-row.reverse .feature-row-text { order: 2; }
.feature-row.reverse .feature-row-visual { order: 1; }
.feature-row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.12em;
  background: var(--brand-blue-soft);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.feature-row h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.4;
  margin-bottom: 16px;
}
.feature-row h3 .blue { color: var(--brand-navy); }
.feature-row h3 .gold { color: var(--gold); }
.feature-row p {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 24px;
}
.feature-row-check {
  list-style: none;
  display: grid;
  gap: 12px;
}
.feature-row-check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
}
.feature-row-check li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  background-color: var(--brand-blue-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232357d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-row-visual {
  position: relative;
  padding: 24px;
}
.feature-row-visual img {
  width: 100%;
  display: block;
  max-width: 440px;
  margin: 0 auto;
}
.feature-row-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(35, 87, 216, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 30% 30%, rgba(245, 180, 0, 0.05) 0%, transparent 60%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
}

/* ============================================
   Pricing model explainer
   ============================================ */
.pricing-model {
  background: linear-gradient(180deg, #fff 0%, var(--brand-blue-tint) 100%);
}
.pm-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px;
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  margin: 56px auto 0;
  position: relative;
  overflow: hidden;
}
.pm-panel::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,180,0,0.15) 0%, transparent 60%);
  border-radius: 50%;
}
.pm-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.pm-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.pm-headline {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.pm-headline .gold { color: var(--gold); }
.pm-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 2;
}
.pm-diagram {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
}
.pm-diagram-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mute);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}
.pm-row:last-child { border-bottom: none; }
.pm-row .what { color: var(--text); font-weight: 500; }
.pm-row .charged {
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
}
.pm-row .free {
  font-weight: 700;
  color: var(--text-mute);
  background: var(--bg-muted);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
}
.pm-row .free::before { content: ''; }

/* ============================================
   Feature grid (3-col icon cards)
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-blue-soft);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-blue);
}
.feature-icon.gold {
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.5;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ============================================
   Product flow (timeline)
   ============================================ */
.flow {
  margin-top: 64px;
  position: relative;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.flow-4 .flow-grid {
  grid-template-columns: repeat(4, 1fr);
}
.flow-connector {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
  opacity: 0.3;
}
.flow-4 .flow-connector {
  left: calc(100% / 8);
  right: calc(100% / 8);
}
.flow.is-visible .flow-connector { transform: scaleX(1); }
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  position: relative;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.flow-badge svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-badge.gold {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.flow-step:hover .flow-badge {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
}
.flow-step:hover .flow-badge.gold { border-color: var(--gold); }
.flow-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.flow-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.flow-step p {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.7;
}
.flow-bands {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.flow-band {
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}
.flow-band.hado {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}
.flow-band.agent {
  background: var(--gold-soft);
  color: var(--gold-dark);
}

/* ============================================
   Case cards
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-body { padding: 28px 32px; }
.case-company {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.case-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.55;
}
.case-body p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ============================================
   Comparison table
   ============================================ */
.compare-table {
  margin-top: 56px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  align-items: stretch;
}
.compare-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.compare-col-label,
.compare-label {
  padding: 20px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  line-height: 1.5;
}
.compare-row .compare-label {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-muted) 100%);
  color: var(--ink);
}
.compare-col-us,
.compare-col-them {
  padding: 24px 28px;
}
.compare-col-them { border-left: 1px solid var(--border); }
.compare-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.compare-brand-tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.08em;
}
.compare-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.compare-brand-other .compare-brand-tag {
  background: var(--text-mute);
}
.compare-brand-other .compare-brand-name {
  color: var(--text-sub);
}

.compare-row {
  border-top: 1px solid var(--border);
  transition: background 0.2s var(--ease-out);
}
.compare-row:hover { background: var(--brand-blue-tint); }
.compare-row:hover .compare-label,
.compare-row:hover .compare-us,
.compare-row:hover .compare-them { background: transparent; }
.compare-us,
.compare-them {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare-them { border-left: 1px solid var(--border); background: var(--bg-soft); }
.compare-us strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.compare-us strong::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 3px;
  background-color: var(--brand-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.compare-them strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-sub);
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.compare-them strong::before {
  content: '×';
  flex-shrink: 0;
  width: 20px; height: 20px;
  line-height: 20px;
  text-align: center;
  background: var(--bg-muted);
  color: var(--text-mute);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}
.compare-us p,
.compare-them p {
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--text-sub);
  margin: 0;
  padding-left: 28px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 56px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.faq-item:hover { border-color: var(--brand-blue); }
.faq-item[open] { border-color: var(--brand-blue); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
  transition: color 0.2s var(--ease-out);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 2px;
}
.faq-q-text { flex: 1; }
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-mute);
  line-height: 1;
  margin-top: 4px;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); color: var(--brand-blue); }
.faq-a {
  padding: 0 28px 22px 72px;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text-sub);
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-panel {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  border-radius: var(--r-xl);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-panel::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.18) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-panel::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-panel-inner {
  position: relative;
  z-index: 1;
}
.cta-panel h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.015em;
}
.cta-panel h2 .gold { color: var(--gold); }
.cta-panel p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-panel .btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.cta-panel .btn-primary:hover {
  background: var(--gold-dark);
  color: #fff;
}
.cta-panel .btn-outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.cta-panel .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.cta-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 28px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text-sub);
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--text-sub);
}
.footer-col a:hover { color: var(--brand-blue); }
.footer-col .coming {
  display: inline-block;
  font-size: 0.62rem;
  padding: 1px 6px;
  background: var(--bg-muted);
  color: var(--text-mute);
  border-radius: var(--r-xs);
  margin-left: 6px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.footer-company-list {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.8;
}
.footer-company-list dt {
  color: var(--text-mute);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 10px;
  text-transform: uppercase;
}
.footer-company-list dt:first-child { margin-top: 0; }
.footer-company-list dd { margin-bottom: 4px; }
.footer-company-list a { color: var(--brand-blue); }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  font-size: 0.75rem;
  color: var(--text-mute);
  text-align: center;
}

/* ============================================
   Reveal animations
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stagger.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.04s; }
.stagger.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
.stagger.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.stagger.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.stagger.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }

/* subtle float on visuals */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-y { animation: float-y 6s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35, 87, 216, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(35, 87, 216, 0); }
}
.pulse { animation: pulse 2.4s ease-out infinite; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .section-sm { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; gap: 28px; }
  .flow-connector { display: none; }
  .flow-bands { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .metric:nth-child(odd)::before { display: none; }
  .metric:nth-child(3)::before { display: none; }
  .pains-grid { grid-template-columns: 1fr; }
  .feature-rows { gap: 72px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .feature-row-text,
  .feature-row.reverse .feature-row-visual { order: 0; }
  .pm-panel { padding: 32px 24px; }
  .pm-panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-q { padding: 18px 20px; font-size: 0.95rem; }
  .faq-a { padding: 0 20px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(320px, 90%);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 32px 40px;
    gap: 20px;
    border-left: 1px solid var(--border-soft);
    transition: right 0.35s var(--ease-out);
    z-index: 101;
    margin-left: 0;
  }
  .site-nav.is-open { right: 0; }
  .site-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }
  .site-nav-links a { font-size: 1.05rem; }
  .burger { display: flex; }
  .burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .cta-panel { padding: 48px 28px; }
  /* Hero responsive — compact layout with CTA overlapping the portrait */
  .saas-hero { padding: 24px 0 0; }
  .saas-hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 20px;
    position: relative;
  }
  .saas-hero-content { text-align: center; max-width: 100%; margin: 0 auto; padding-bottom: 0; }
  .hero-badges {
    justify-content: center;
    margin-bottom: 14px;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .hero-badge-chip {
    font-size: 0.64rem;
    padding: 5px 8px;
    gap: 4px;
    letter-spacing: 0;
  }
  .hero-badge-chip::before { width: 12px; height: 12px; background-size: 8px; }
  .hero-h1-boxed { gap: 10px; align-items: center; }
  .hero-h1-box { align-self: center; }
  .hero-h1-box-type { font-size: 1.1rem; padding: 10px 20px; }
  .hero-h1-box-main { font-size: 1.75rem; padding: 12px 24px; }
  .hero-sub { font-size: 0.88rem; line-height: 1.8; margin-bottom: 0; padding: 0 4px; }
  .hero-duo {
    max-width: 320px;
    justify-self: center;
    margin: -8px auto 0;
    position: relative;
    z-index: 1;
  }
  .hero-ctas {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14%;
    width: min(300px, 80%);
    margin: 0 auto;
    justify-content: center;
    z-index: 5;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-ctas .btn {
    width: 100%;
    box-shadow: 0 10px 26px rgba(14, 25, 60, 0.22), 0 4px 10px rgba(35, 87, 216, 0.3);
  }
  .hero-trust { justify-content: center; }

  /* Feature row illustrations — smaller on mobile */
  .feature-row-visual { padding: 8px; max-width: 280px; margin: 0 auto; }
  .feature-row-visual img { max-width: 240px; }

  /* Compare table — keep side-by-side on mobile, label spans full width */
  .compare-head,
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-col-label { display: none; }
  .compare-col-us,
  .compare-col-them { padding: 16px 14px; }
  .compare-col-them { border-left: 1px solid var(--border); }
  .compare-brand-name { font-size: 0.92rem; }
  .compare-brand-tag { font-size: 0.62rem; padding: 2px 8px; }
  .compare-row .compare-label {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 0.78rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    background: var(--bg-muted);
    justify-content: center;
  }
  .compare-row .compare-label br { display: none; }
  .compare-us,
  .compare-them {
    padding: 14px 12px;
    gap: 6px;
  }
  .compare-us strong,
  .compare-them strong {
    font-size: 0.85rem;
    line-height: 1.4;
    gap: 6px;
  }
  .compare-us strong::before,
  .compare-them strong::before {
    width: 16px;
    height: 16px;
    background-size: 10px;
    margin-top: 2px;
    font-size: 0.75rem;
    line-height: 16px;
  }
  .compare-us p,
  .compare-them p {
    font-size: 0.72rem;
    line-height: 1.65;
    padding-left: 0;
  }
}
@media (max-width: 480px) {
  .feature-row-visual { max-width: 240px; }
  .feature-row-visual img { max-width: 200px; }
  .hero-h1 { font-size: 1.85rem; line-height: 1.3; }
  .hero-sub { font-size: 0.92rem; }
}
@media (max-width: 600px) {
  .service-card { padding: 24px 20px; }
  .case-body { padding: 24px 20px; }
  .site-header-inner { padding: 0 20px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Polish layer — 案A (elegant enhancements)
   Isolated block. To revert visual polish,
   delete everything from here to end of file.
   ============================================ */
:root {
  --grad-navy-rich: linear-gradient(135deg, #1a3a8a 0%, #12286a 50%, #0a1a54 100%);
  --grad-blue-rich: linear-gradient(135deg, #2e64e8 0%, #1b48bb 55%, #143494 100%);
  --grad-gold-metal: linear-gradient(135deg, #fbd868 0%, #f5b400 45%, #c88a00 100%);
  --grad-blue-text: linear-gradient(135deg, #1a3a8a 0%, #2357d8 100%);
  --grad-hero-mesh:
    radial-gradient(at 8% 12%, rgba(35, 87, 216, 0.10) 0%, transparent 55%),
    radial-gradient(at 92% 18%, rgba(245, 180, 0, 0.07) 0%, transparent 50%),
    radial-gradient(at 50% 100%, rgba(26, 58, 138, 0.06) 0%, transparent 60%);
}

/* --- Hero: richer mesh background --- */
.saas-hero {
  background:
    var(--grad-hero-mesh),
    linear-gradient(180deg, var(--brand-blue-tint) 0%, #fff 85%);
}

/* --- Hero H1 main box: rich navy gradient with depth --- */
.hero-h1-box-main {
  background: var(--grad-navy-rich);
  box-shadow:
    0 16px 38px rgba(14, 25, 60, 0.22),
    0 4px 10px rgba(35, 87, 216, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.hero-h1-box-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.07) 50%, transparent 62%);
  pointer-events: none;
}

/* --- Metallic gold for accent text --- */
.hero-h1-box-type .gold,
.heading-display .gold,
.heading-xl .gold,
.heading-lg .gold,
.heading-md .gold,
.feature-row-text h3 .gold {
  background: var(--grad-gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- Refined blue gradient for accent text --- */
.heading-display .blue,
.heading-xl .blue,
.heading-lg .blue,
.heading-md .blue,
.feature-row-text h3 .blue {
  background: var(--grad-blue-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- Eyebrow: soft glow --- */
.eyebrow {
  box-shadow:
    inset 0 0 0 1px rgba(35, 87, 216, 0.1),
    0 4px 12px rgba(35, 87, 216, 0.08);
}

/* --- Primary CTA: gradient + shimmer --- */
.btn-primary {
  background: var(--grad-blue-rich);
  background-size: 200% 100%;
  background-position: 0% 0%;
  position: relative;
  overflow: hidden;
  transition:
    background-position 0.55s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  box-shadow:
    0 10px 24px rgba(35, 87, 216, 0.28),
    0 2px 6px rgba(14, 25, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transition: left 0.8s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--grad-blue-rich);
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(35, 87, 216, 0.38),
    0 6px 14px rgba(14, 25, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn-primary:hover::after {
  left: 120%;
}

/* --- Card elevation refinement --- */
.pain-card,
.service-card,
.case-card {
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s var(--ease-out);
}
.pain-card:hover,
.service-card:hover,
.case-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 56px rgba(14, 25, 60, 0.12),
    0 10px 22px rgba(35, 87, 216, 0.08);
}

/* --- Compare table header: richer gradient --- */
.compare-head {
  background: linear-gradient(135deg, var(--brand-blue-tint) 0%, var(--bg-soft) 100%);
}
.compare-brand-tag {
  background: var(--grad-blue-rich);
}

/* ============================================
   Polish v2 — refined luxury (1+2+3+4+5)
   Block-scoped so we can remove / trim individually.
   Sub-blocks each marked with bracketed tag (v2-N).
   ============================================ */

/* [v2-tokens] */
:root {
  --ease-luxe: cubic-bezier(0.4, 0, 0.2, 1);
  --hairline: rgba(14, 25, 60, 0.08);
}

/* [v2-2] Hairlines & breathing room */
.section { padding: 144px 0; }
.section-sm { padding: 96px 0; }
.pain-card,
.service-card,
.case-card,
.compare-table,
.faq-item,
.feature-row-visual {
  border-color: var(--hairline);
}
.pain-card,
.service-card {
  border-radius: 20px;
}
.case-card,
.compare-table {
  border-radius: 20px;
}
.section-head { margin-bottom: 80px; }
.hero-badge-chip {
  border-color: var(--hairline);
}

/* [v2-3] Motion: slower, more deliberate */
.btn {
  transition:
    background-color 0.5s var(--ease-luxe),
    background-position 0.7s var(--ease-luxe),
    transform 0.4s var(--ease-luxe),
    box-shadow 0.5s var(--ease-luxe),
    color 0.3s var(--ease-luxe);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-primary::after {
  transition: left 1.1s var(--ease-luxe);
}
.pain-card,
.service-card,
.case-card {
  transition:
    transform 0.6s var(--ease-luxe),
    box-shadow 0.6s var(--ease-luxe),
    border-color 0.5s var(--ease-luxe);
}
.pain-card:hover,
.service-card:hover,
.case-card:hover {
  transform: translateY(-4px);
}
[data-reveal] {
  transition:
    opacity 1.1s var(--ease-luxe),
    transform 1.1s var(--ease-luxe);
}

/* [v2-4] Image treatment: subtle cool-duotone on portraits */
.hero-duo img,
.case-thumb img {
  filter: saturate(0.88) contrast(1.02) brightness(1.01);
  transition: filter 0.8s var(--ease-luxe);
}
.case-card:hover .case-thumb img {
  filter: saturate(0.95) contrast(1.02);
}
.hero-duo img {
  filter:
    saturate(0.88)
    contrast(1.02)
    drop-shadow(0 20px 40px rgba(14, 25, 60, 0.08));
}

/* [v2-5] Numbers — serif + metallic gold on stat/compare values */
.metric-value {
  background: var(--grad-gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.compare-us strong {
  color: var(--brand-navy);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-primary::after,
  .pain-card,
  .service-card,
  .case-card,
  [data-reveal],
  .hero-duo img,
  .case-thumb img {
    transition: none;
  }
}

/* Mobile: ease section-padding back down */
@media (max-width: 960px) {
  .section { padding: 96px 0; }
  .section-sm { padding: 64px 0; }
  .section-head { margin-bottom: 48px; }
}
