/* サポライター LP */
:root {
  --color-primary: #b91c3c;
  --color-primary-dark: #991b1b;
  --color-accent: #1e3a5f;
  --color-text: #1f2937;
  --color-text-muted: #4b5563;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-border: #e2e8f0;
  --color-success: #059669;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --max-width: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  min-height: var(--header-h);
}

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

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  line-height: 1.25;
  height: 100%;
  min-width: 0;
  flex-shrink: 0;
}

.logo:hover,
.logo:active,
.logo:focus {
  text-decoration: none;
}

.logo:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
  border-radius: 4px;
}

.logo-product {
  font-weight: 700;
  font-size: 1.26rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.logo-product span {
  color: var(--color-primary);
}

.logo-company {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-cta {
  display: none;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  margin-top: 4px;
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--color-primary);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(185, 28, 60, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: #fef2f2;
  color: var(--color-primary-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #fef2f2 100%);
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.hero-intro {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .hero-intro {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.4;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.hero-lead + .hero-lead {
  margin-top: 0.65rem;
}

.hero-diagram {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-visual {
  min-width: 0;
}

.hero .security-grid {
  margin-top: 0;
}

.hero-trust {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.hero-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

/* Sections */
section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.page-top-anchor {
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

section:nth-of-type(even):not(.contact-section) {
  background: var(--color-bg-alt);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--color-accent);
  margin: 0 0 1rem;
  line-height: 1.4;
  text-wrap: balance;
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 42rem;
  text-wrap: pretty;
}

#scenes .section-lead {
  max-width: none;
  text-wrap: wrap;
}

#before-after .section-lead {
  max-width: none;
  text-wrap: wrap;
}

.section-lead--follow {
  margin-top: -1.25rem;
}

.section-lead--follow + .section-lead--follow {
  margin-top: -1rem;
}

/* 連続する説明文の段落間隔 */
.prose-tight p + p,
.feature-text p + p,
.trust-box p + p,
.faq-item p + p,
.contact-guide > p + p {
  margin-top: 0.65rem;
}

.section-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.docdb-no-cloud {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}
  margin-top: -0.5rem;
}

/* Problem */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.problem-list li {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.problem-list strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Overview cards */
.overview-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.overview-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  text-align: center;
}

.overview-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.overview-card h3 {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.overview-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Video */
.video-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.video-card h3 {
  font-size: 1rem;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
}

.video-card video {
  width: 100%;
  display: block;
  background: #000;
}

.video-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Feature blocks */
.feature-block {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.feature-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
  }

  .feature-block.reverse .feature-image {
    order: 2;
  }

  .feature-block.reverse .feature-text {
    order: 1;
  }
}

.feature-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.feature-text h3 {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.feature-text p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.feature-text p:last-child {
  margin-bottom: 0;
}

/* Check section visual */
.check-visual {
  margin: 1.25rem 0 2rem;
  text-align: left;
}

.check-visual img {
  width: 100%;
  max-width: min(100%, 560px);
  height: auto;
  display: block;
  margin-inline: 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.check-visual figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.step {
  flex: 1 1 140px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
}

.step strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Audience */
.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.audience-list li {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  position: relative;
  text-wrap: pretty;
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--color-success);
  font-weight: 700;
}

/* Trust */
.trust-box {
  background: linear-gradient(135deg, var(--color-accent), #2d4a6f);
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.trust-box .section-title {
  color: #fff;
}

.trust-box p {
  margin: 0;
  opacity: 0.95;
  max-width: 36rem;
  margin-inline: auto;
}

/* Comparison tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.compare-table th {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.compare-table tr.highlight {
  background: #fef2f2;
}

.compare-table tr.highlight td:first-child {
  font-weight: 700;
  color: var(--color-primary);
}

.mark-yes {
  color: var(--color-primary);
  font-weight: 700;
}

.mark-partial {
  color: #d97706;
  font-weight: 700;
}

.mark-no {
  color: #9ca3af;
}

.table-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.price-banner {
  text-align: center;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}

.price-banner .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0.5rem 0;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1.25rem;
  padding-right: 2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-section {
  background: var(--color-bg-dark);
  color: #fff;
}

.contact-section .section-label {
  color: #fecdd3;
}

.contact-section .section-title {
  color: #fff;
  font-weight: 700;
}

.contact-section .section-lead {
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.contact-section .section-lead--follow {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.contact-guide {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.contact-guide-title {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.contact-guide p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.7;
}

.contact-guide ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.contact-guide li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.contact-guide a {
  color: #fecdd3;
  text-decoration: underline;
}

.contact-guide a:hover {
  color: #fff;
}

.contact-guide-note {
  font-size: 0.85rem !important;
  opacity: 0.85;
  margin-bottom: 0 !important;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.contact-card .label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: #fecdd3;
}

.contact-cta {
  text-align: center;
  margin-top: 2rem;
}

.contact-cta .btn-primary {
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: #0a0f1a;
  color: #94a3b8;
  padding: 2rem 0;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer a {
  color: #cbd5e1;
}

/* Inline CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2rem 0;
}

.cta-band p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.cta-band .btn-outline {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

.cta-band .btn-outline:hover {
  background: #fef2f2;
  border-color: #fff;
  color: var(--color-primary-dark);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Mobile nav */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-accent);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.65rem 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
}

.mobile-nav a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
}

/* Hero typo note */
.hero-typo-note {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--color-primary);
}

/* Flow section */
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.flow-steps li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1rem;
}

.flow-steps strong {
  display: block;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.flow-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.flow-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
  margin: 0;
}

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-cta.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-tel {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.sticky-cta-tel:hover {
  background: var(--color-bg-alt);
  text-decoration: none;
}

.sticky-cta-form {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: 4.5rem;
  }

  .contact-section {
    padding-bottom: 5.5rem;
  }

  .site-footer {
    padding-bottom: 1rem;
  }
}

/* Security section */
.security-lead {
  max-width: none;
  text-wrap: wrap;
}

.security-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.security-concerns,
.security-solution {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1rem 1rem;
}

.security-concerns h3,
.security-solution h3,
.security-block-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--color-accent);
}

.security-concerns ul,
.security-solution ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.security-concerns li,
.security-solution li {
  margin-bottom: 0.45rem;
}

.security-solution .btn {
  margin-top: 1rem;
}

/* Benefit stats & typeZ steps */
.benefit-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.benefit-stat {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  text-align: center;
  border-top: 3px solid var(--color-primary);
}

.benefit-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.benefit-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.typez-steps {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.typez-steps li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1rem;
}

.typez-steps strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.typez-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

/* Scene list */
.scene-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.scene-list li {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.scene-list strong {
  color: var(--color-accent);
  font-weight: 700;
  white-space: nowrap;
}

.scene-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Before / After */
.discovery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.discovery-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(185, 28, 60, 0.3);
}

.ba-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ba-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-bg-alt);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.ba-row {
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.ba-row:last-child {
  margin-bottom: 0;
}

.ba-before {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.ba-after {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.ba-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}

.ba-row p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ba-row small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.ba-error {
  background: #fee2e2;
  color: var(--color-primary-dark);
  padding: 0 0.15rem;
  border-radius: 2px;
}

.ba-fix {
  background: #dcfce7;
  color: #166534;
  padding: 0 0.15rem;
  border-radius: 2px;
}

.ba-grid-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.cta-band--light {
  background: linear-gradient(135deg, var(--color-accent), #2d4a6f);
  margin-top: 2rem;
}

.cta-band--light .btn-primary {
  background: #fff;
  color: var(--color-accent);
  box-shadow: none;
}

.cta-band--light .btn-primary:hover {
  background: #f1f5f9;
}

/* Workflow */
.workflow-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.workflow-steps li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
  padding: 0.85rem 1rem;
}

.workflow-steps strong {
  display: block;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.workflow-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.phrase-box {
  background: #fff;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.phrase-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-accent);
}

.phrase-box p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.phrase-box-cta {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #fecaca;
  text-align: center;
}

.phrase-box-cta .btn-primary {
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  min-width: 12rem;
}

/* Long document callout */
.longdoc-callout {
  background: linear-gradient(135deg, #fef2f2, #fff);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
  text-align: center;
}

.longdoc-callout h3 {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.longdoc-callout p {
  margin: 0 0 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.longdoc-cta {
  font-weight: 600;
  color: var(--color-text) !important;
  margin-bottom: 1rem !important;
}

/* Document DB / hinagata steps */
.docdb-steps,
.hinagata-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.docdb-steps li,
.hinagata-steps li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.check-subtitle {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.5;
}

/* Compare brief */
.compare-subtitle {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin: 2rem 0 0.5rem;
}

.compare-more {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.compare-more a {
  font-weight: 600;
}

/* Contact demo note */
.contact-demo-note {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-demo-note p {
  margin: 0 0 0.5rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.contact-demo-note p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .steps {
    flex-wrap: nowrap;
  }

  .step {
    flex: 1;
  }
}
