/* =====================================================================
   Font — Inter unicode-range subset (英数字のみ)
   ===================================================================== */

@font-face {
  font-family: 'Inter-Subset';
  src: local('Inter'), local('Inter-Regular');
  unicode-range: U+0020-007E;
}

/* =====================================================================
   Animations  (src/styles/animations.css)
   ===================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.fade-up.visible        { opacity: 1; transform: translateY(0); }
.fade-up-delay-1        { transition-delay: 0.1s; }
.fade-up-delay-2        { transition-delay: 0.2s; }
.fade-up-delay-3        { transition-delay: 0.45s; }
.fade-up-delay-4        { transition-delay: 0.6s; }


body {
  background-color: var(--bg);
}

/* =====================================================================
   Shared utilities
   ===================================================================== */

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

.section-head { text-align: center; margin-bottom: var(--space-14); }
.section-head h2 {
  font-family: var(--font-family);
  font-size: var(--text-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);;
  color: var(--navy);
  margin: 0;
  text-align: center;
  margin-inline: auto;
}
.section-sub {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body-lg);
  color: var(--color-main);
  margin: 0 0 var(--space-8);
  text-align: center;
}
.section-sub-deco {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.section-sub-deco::before {
  content: '╲';
  font-weight: var(--fw-regular);
  color: var(--navy);
  opacity: 0.6;
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
}
.section-sub-deco::after {
  content: '╱';
  font-weight: var(--fw-regular);
  color: var(--navy);
  opacity: 0.6;
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
}

/* =====================================================================
   Line break control utilities
   ===================================================================== */

.pc-only     { display: inline; }
.tablet-only { display: none;   }
.sp-only     { display: none;   }

@media (max-width: 1023px) and (min-width: 768px) {
  .pc-only     { display: none;   }
  .tablet-only { display: inline; }
  .sp-only     { display: none;   }
}

@media (max-width: 767px) {
  .pc-only     { display: none;   }
  .tablet-only { display: none;   }
  .sp-only     { display: inline; }
}

/* =====================================================================
   GlobalNav
   ===================================================================== */

#global-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.3s ease;
  width: 100%;
}
#global-nav.is-scrolled {
  background: var(--bg);
}
#global-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bg);
  z-index: 201;
  transition: opacity 0.3s ease;
}
#global-nav.is-scrolled::after {
  opacity: 0;
}

.nav-inner {
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav-inner { padding: var(--space-4) var(--space-10); }
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: var(--logo-h-sm);
  width: auto;
}
@media (min-width: 768px) {
  .nav-logo img { height: var(--logo-h-md); }
}
@media (min-width: 1024px) {
  .nav-logo img { height: var(--logo-h-lg); }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-5);
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a, .nav-links button {
  font-size: var(--text-caption);

  letter-spacing: var(--ls-caption);

  line-height: var(--lh-caption);;;
  color: var(--color-body);
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-links a:hover, .nav-links button:hover { color: var(--navy); text-decoration: underline; }

.nav-divider {
  display: block;
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

.nav-cta {
  display: none;
  background: var(--navy);
  color: var(--white) !important;
  border: none;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);;;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter 0.2s ease;
}
.nav-cta:hover { filter: brightness(1.2); }
@media (min-width: 768px) { .nav-cta { display: inline-block; } }

/* Login button (mobile only — shown left of hamburger) */
.nav-login-mobile {
  display: flex;
  align-items: center;
  font-size: var(--text-caption);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);;;
  color: var(--color-body);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-login-mobile:hover { color: var(--navy); }
@media (min-width: 768px) { .nav-login-mobile { display: none; } }

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1);
  color: var(--color-main);
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
  position: relative;
}
.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: currentColor;
  left: 0;
  transition: transform 0.25s;
}
.nav-hamburger span::before { top: -7px; }
.nav-hamburger span::after  { top:  7px; }

/* Mobile menu */
.nav-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--navy);
  z-index: 600;
  height: 0;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-mobile-menu.is-open {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-mobile-logo {
  height: var(--logo-h-sm);
  width: auto;
  color: var(--white);
}
.nav-mobile-close {
  padding: var(--space-1);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
}

.nav-mobile-menu ul {
  padding-top: 0;
}

.nav-mobile-menu li {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-mobile-menu ul button,
.nav-mobile-menu ul a {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-body);
  letter-spacing: var(--ls-body);
  line-height: var(--lh-body);
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}
.nav-mobile-menu ul button:hover,
.nav-mobile-menu ul a:hover { background: rgba(255,255,255,0.08); }

.nav-mobile-cta {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.nav-mobile-cta .btn-primary {
  width: 100%;
  background: var(--cyan);
}
.nav-mobile-login {
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  text-align: center;
}

/* =====================================================================
   HeroSection
   ===================================================================== */

#hero-section {
  background: var(--bg);
  width: 100%;
}

/* SP: flex column */
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--section-py) var(--section-px);
  overflow: hidden;
}
/* PC: grid */
@media (min-width: 769px) {
  .hero-inner {
    display: grid;
    grid-template-areas:
      "top illustration"
      "bottom illustration";
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-12);
    align-items: start;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0;
    position: relative;
  }
}

/* Text blocks */
.hero-text-top {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  .hero-text-top {
    grid-area: top;
    margin-left: var(--hero-indent);
    margin-top: var(--space-12);
  }
}

.hero-text-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
@media (min-width: 769px) {
  .hero-text-bottom {
    grid-area: bottom;
    margin-left: var(--hero-indent);
    gap: var(--space-12);
  }
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-lead {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body-lg);;
  color: var(--navy);
  margin: 0;
}

.hero-h1 {
  font-family: var(--font-family);
  font-size: var(--text-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);;
  color: var(--navy);
  margin: 0;
  white-space: nowrap;
}

.hero-body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  color: var(--color-body);
  margin: 0;
}

.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  width: 178px;
  padding-block: var(--space-3);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease;
}
.btn-primary:hover { filter: brightness(1.2); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-sizing: border-box;
  width: 178px;
  padding-block: var(--space-3);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.btn-outline:hover { background: rgba(32, 56, 100, 0.08); }

.hero-checks {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.hero-check-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
  color: var(--navy);
}

.hero-check-icon {
  flex-shrink: 0;
}

.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .hero-illustration {
    grid-area: illustration;
    width: 100%;
    height: auto;
    align-self: center;
  }
}

/* ===== Hero tablet overrides ===== */
@media (max-width: 1180px) and (min-width: 769px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
  }
  .hero-text-top,
  .hero-text-bottom {
    padding-left: var(--section-px);
  }
  .hero-illustration {
    width: 80%;
    margin: 0 auto;
  }
  .hero-inner {
    padding-bottom: var(--space-8);
  }
}

/* ===== Hero SP overrides ===== */
@media (max-width: 768px) {
  .hero-inner {
    padding: var(--space-8) var(--section-px) var(--section-py);
    gap: var(--space-6);
    padding-bottom: var(--space-8);
  }
  .hero-text-top,
  .hero-text-bottom { text-align: left; }
  .hero-illustration {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .btn-primary,
  .btn-outline { width: 100%; }
  .hero-ctas {
    flex-direction: column;
    gap: var(--space-3);
  }
}

/* =====================================================================
   Logo Band
   ===================================================================== */

#logo-band {
  background: var(--bg);
  padding: var(--space-6) var(--section-px);
  overflow: hidden;
}
@media (min-width: 768px)  { #logo-band { padding: var(--space-8) var(--section-px); } }
@media (min-width: 1024px) { #logo-band { padding: var(--space-10) var(--section-px); } }
@media (max-width: 767px) {
  #logo-band {
    padding-left: var(--section-px);
    padding-right: var(--section-px);
  }
}

.logo-band-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6) var(--space-10);
  align-items: center;
  justify-items: center;
  max-width: var(--container);
  margin-inline: auto;
  margin: 0 auto;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .logo-band-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5) var(--space-8);
  }
  #logo-band .logo-band-grid img {
    height: 32px;
  }
}

@media (max-width: 767px) {
  .logo-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) var(--space-6);
  }
  #logo-band .logo-band-grid img {
    height: 32px;
  }
}

.logo-band-grid img {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: center;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead,
.hero-body,
.hero-ctas,
.hero-checks,
.hero-illustration {
  opacity: 0;
  animation: heroFadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-lead         { animation-delay: 0ms; }
.hero-illustration { animation-delay: 300ms; }
.hero-body         { animation-delay: 300ms; }
.hero-ctas         { animation-delay: 450ms; }
.hero-checks       { animation-delay: 600ms; }

.hero-h1 {
  opacity: 1;
  animation: none;
}

@keyframes charFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-char {
  display: inline-block;
  opacity: 0;
  animation: charFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* =====================================================================
   PainSection
   ===================================================================== */

#pain-section {
  background: var(--bg);
  width: 100%;
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #pain-section { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #pain-section { padding: var(--section-py) var(--section-px); } }

/* Risk cards 2×3 grid */
.pain-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1) var(--space-8);
  margin: 0 auto var(--space-16);
}
@media (min-width: 768px) {
  .pain-cards {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .pain-cards {
    grid-template-columns: repeat(2, 358px);
  }
}

.pain-card {
  position: relative;
  background: var(--navy);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin-top: var(--space-6);
  width: 100%;
  box-sizing: border-box;
}

.pain-card-icon {
  position: absolute;
  top: -20px;
  left: var(--space-8);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pain-card p {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--white);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  margin: 0;
  text-align: center;
}
.pain-card p .hl {
  color: var(--accent);
  font-weight: var(--fw-bold);
}

/* Advisor bubble area */
.pain-advisor {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-10) var(--space-8) 0;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.pain-advisor-text {
  flex: 1;
  align-self: center;
  margin-bottom: var(--space-10);
}

.pain-advisor-title {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  margin: 0 0 var(--space-5);
}

.pain-advisor-highlight {
  display: inline;
  padding: 0 var(--space-1);
  background-image: linear-gradient(transparent 55%, rgba(8, 180, 234, 0.35) 55%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.pain-advisor-highlight.is-active {
  background-size: 100% 100%;
}

.pain-advisor-body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  margin: 0;
}

.pain-advisor-illust {
  width: 50%;
  height: 200px;
  max-width: 50%;
  object-fit: contain;
  object-position: bottom right;
  align-self: flex-end;
}
@media (max-width: 1023px) and (min-width: 768px) {
  .pain-advisor-illust {
    max-width: 280px;
  }
}
@media (max-width: 767px) {
  .pain-advisor {
    min-height: unset;
    flex-direction: column;
  }
  .pain-advisor-illust {
    position: static;
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    object-position: bottom center;
    margin: 0 auto;
  }
  .pain-advisor-text {
    max-width: 100%;
    margin-bottom: 0;
  }
}

/* =====================================================================
   EducateSection
   ===================================================================== */

#educate-section {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #educate-section { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #educate-section { padding: var(--section-py) var(--section-px); } }



#educate-section .section-head {
  margin-bottom: var(--space-3);
}
#educate-section .section-sub {
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body-lg);
  margin-bottom: var(--space-14);
}

.educate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin: 0 auto var(--space-16);
}
@media (min-width: 768px)  { .educate-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .educate-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.educate-card {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.educate-card-icon {
  display: flex;
  justify-content: center;
  padding-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.educate-card-body {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.educate-card-title {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  text-align: center;
  margin: 0 0 var(--space-3);
}

.educate-card-text {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  color: var(--color-body);
  margin: 0;
  text-align: left;
}

/* Authority quote */
.educate-quote {
  position: relative;
  width: 100%;
  margin: 0 auto 0;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  padding: var(--space-14) var(--space-12);
  box-sizing: border-box;
}

.educate-quote-badge {
  position: absolute;
  top: calc(var(--space-4) * -1);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent);
  border: 2px solid var(--navy);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: var(--ls-caption);
  color: var(--navy);
}

.educate-quote-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.educate-quote-content {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.advisor-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.educate-quote-text {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body-lg);
  margin: 0;
}
.educate-quote-highlight {
  display: inline;
  padding: 0 var(--space-1);
  background-image: linear-gradient(transparent 55%, rgba(8, 180, 234, 0.35) 55%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.educate-quote-highlight.is-active {
  background-size: 100% 100%;
}
@media (max-width: 767px) {
  .educate-quote {
    padding-top: var(--space-16);
  }
  .educate-quote-badge {
    white-space: normal;
    text-align: center;
    width: calc(100% - var(--space-8));
  }
  .educate-quote-content {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  .educate-quote-text {
    text-align: left;
  }
}

/* =====================================================================
   SolutionSection
   ===================================================================== */

#solution-section {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #solution-section { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #solution-section { padding: var(--section-py) var(--section-px); } }

#solution-section .section-head { margin-bottom: var(--space-3); }
#solution-section .section-sub {
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body-lg);
  margin-bottom: var(--space-14);
}

/* Mobile/tablet stacked layout */
.solution-stacked { margin-bottom: var(--space-12); }
@media (min-width: 1024px) { .solution-stacked { display: none; } }

.solution-panel-mobile {
  position: relative;
  padding: var(--space-10) var(--space-6) var(--space-8);
  text-align: left;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-sm);
}
.solution-panel-mobile--before {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: var(--space-8);
}
.solution-panel-mobile--after {
  background: var(--navy);
  border: none;
  border-radius: var(--radius-md);
}

/* Desktop side-by-side */
.solution-desktop {
  display: none;
  margin-top: var(--space-4);
  margin-bottom: 0;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
}
@media (min-width: 1024px) { .solution-desktop { display: flex; } }

.solution-half {
  flex: 1;
  position: relative;
  padding: var(--space-12) var(--space-10);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.solution-half--before {
  background: var(--white);
  border-right: 2px solid var(--navy);
  border-top-left-radius: calc(var(--radius-lg) - 2px);
  border-bottom-left-radius: calc(var(--radius-lg) - 2px);
}
.solution-half--after {
  background: var(--navy);
  border-top-right-radius: calc(var(--radius-lg) - 2px);
  border-bottom-right-radius: calc(var(--radius-lg) - 2px);
}

/* Shared panel parts */
.solution-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);;;
  color: var(--navy);
  border-radius: var(--radius-full);
  z-index: 1;
  white-space: nowrap;
  box-sizing: border-box;
}
.solution-label--after { background: var(--accent); }
.solution-label--before { background: var(--white); }

.solution-title-before {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  margin: 0 0 var(--space-6);
}
.solution-title-after {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--white);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  margin: 0 0 var(--space-6);
}

.solution-list { margin-bottom: var(--space-6); }
.solution-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.solution-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.solution-dot--before { background: var(--navy); }
.solution-dot--after  { background: var(--white); }

.solution-item-text-before {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  color: var(--color-body);
}
.solution-item-text-after {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  color: var(--white);
}

.solution-tag {
  align-self: flex-start;
  font-family: var(--font-family);
  font-size: var(--text-micro);
  font-weight: var(--fw-regular);
  color: var(--color-main);
  line-height: 1;
  letter-spacing: var(--ls-micro);;
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-2);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.solution-tag--before {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--color-main);
}
.solution-tag--after {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

/* =====================================================================
   HowItWorksSection
   ===================================================================== */

#how-it-works {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #how-it-works { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #how-it-works { padding: var(--section-py) var(--section-px); } }

#how-it-works .section-head { margin-bottom: var(--space-3); }
#how-it-works .section-sub {
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body-lg);
  margin-bottom: var(--space-14);
}

/* Flow rows */
.flow-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
@media (min-width: 1024px) { .flow-rows { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); } }

.flow-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}
@media (min-width: 1024px) { .flow-row { flex-direction: row; align-items: stretch; gap: 0; justify-content: center; } }
@media (min-width: 1024px) { .flow-row:first-child { padding-left: calc(var(--space-2) * 2 + 1em); } }

.flow-node-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 224px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .flow-node-wrap { flex-direction: row; align-items: stretch; }
}

.flow-node {
  width: 100%;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

/* Expand max-width for tablet and SP */
@media (max-width: 1023px) {
  .flow-node {
    width: 100%;
    align-self: stretch;
  }
  .flow-node-wrap {
    width: 100%;
  }
  .flow-rows {
    width: 100%;
  }
  .flow-row {
    width: 100%;
    align-items: center;
  }
}

.flow-node--active  { background: var(--white); border: 2px solid var(--navy); }
.flow-node--default { background: var(--white); border: 2px solid var(--navy); }

.flow-step-pill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);;;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-sizing: border-box;
  z-index: 1;
}

.flow-node-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-8) var(--space-6);
}

.flow-node-icon {
  font-size: var(--icon-step);
  line-height: 1;
}

.flow-node-label {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  text-align: center;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  margin: 0;
}

.flow-node-divider {
  width: 100%;
  padding: 0 var(--space-8);
}
.flow-node-divider hr {
  border: none;
  border-top: 1px solid var(--border);
}

.flow-node-sub {
  width: 100%;
  padding: var(--space-6) var(--space-8) var(--space-8);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  color: var(--color-body);
  text-align: center;
  margin: 0;
}

/* Arrows between nodes */
.flow-arrow {
  font-size: var(--text-body-lg);
  color: var(--navy);
  line-height: 1;
  letter-spacing: var(--ls-body-lg);;
  padding: var(--space-1) 0;
  transform: rotate(90deg);
}
@media (min-width: 1024px) {
  .flow-arrow { transform: rotate(0deg); padding: 0 var(--space-2); display: flex; align-items: center; }
}

/* Row connector arrow (between row 1 and row 2, desktop only) */
.flow-row-arrow {
  display: none;
  font-size: var(--text-body-lg);
  color: var(--navy);
  line-height: 1;
  letter-spacing: var(--ls-body-lg);;
  align-self: center;
}
@media (min-width: 1024px) { .flow-row-arrow { display: flex; align-items: center; padding: 0 var(--space-2); } }

/* Mobile row separator */
.flow-row-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}
@media (min-width: 1024px) { .flow-row-sep { display: none; } }
@media (max-width: 1023px) {
  .flow-row-sep {
    margin-top: 0;
  }
}

/* Divider between consultation card and screenshots */
.flow-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-14) 0;
}

/* Plus separator */
.flow-plus {
  display: flex;
  justify-content: center;
  margin: var(--space-12) 0;
}

/* Consultation card */
.flow-consultation-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--accent);
  border: 2px solid var(--navy);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  margin: 0 auto;
  box-sizing: border-box;
}

.flow-consultation-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.flow-consultation-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.flow-consultation-text {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-body-lg);
  line-height: var(--lh-body-lg);;;
  color: var(--color-main);
}

/* Screenshots area */
.screens-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  margin-top: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

.screens-area-header {
  display: flex;
  justify-content: center;
}

.screens-area-logo {
  height: var(--logo-h-lg);
  width: auto;
}

.screens-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.screen-frame {
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.screen-notch { display: none; }

.screen-inner {
  filter: drop-shadow(0 2px 6px rgba(32, 56, 100, 0.10))
          drop-shadow(0 8px 16px rgba(32, 56, 100, 0.18));
}

.screen-inner img {
  width: 155px;
  height: auto;
  display: block;
}

.screen-frame:hover {
  transform: scale(1.04);
}

.screens-note svg {
  flex-shrink: 0;
  display: block;
}

.screens-note {
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
  margin: var(--space-8) auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  width: fit-content;
  text-align: left;
}
@media (min-width: 768px) {
  .screens-note { align-items: center; max-width: none; text-align: center; margin-top: var(--space-10); }
}
@media (max-width: 767px) {
  .screens-note {
    align-items: flex-start;
  }
  .screens-note svg {
    flex-shrink: 0;
    margin-top: var(--space-1);
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: var(--radius-md);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  color: var(--white);
  font-size: var(--text-h2);
  line-height: 1;
  letter-spacing: var(--ls-h2);;
  cursor: pointer;
}

/* =====================================================================
   WhyUsSection
   ===================================================================== */

#why-us {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #why-us { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #why-us { padding: var(--section-py) var(--section-px); } }

#why-us .section-head { margin-bottom: var(--space-3); }
#why-us .section-sub { font-weight: var(--fw-regular); color: var(--color-body); line-height: var(--lh-body-lg); margin-bottom: var(--space-14); }

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
  margin-bottom: var(--space-section);
}
@media (min-width: 1024px) {
  .why-us-list { align-items: flex-start; }
}

.why-us-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .why-us-row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-12);
    width: calc(100% * 2 / 3);
  }
  .why-us-row:nth-child(even) {
    align-self: flex-end;
  }
}

.why-us-illu {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .why-us-illu { width: 206px; }
}

.why-us-illust {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-width: 206px;
}

.why-us-text { flex: 1; }

.why-us-heading {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.why-us-num {
  font-family: var(--font-family);
  font-size: var(--text-deco);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-deco);
  letter-spacing: var(--ls-deco);;
  color: var(--cyan);
  flex-shrink: 0;
}

.why-us-title {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  margin: 0;
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
}

.why-us-body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  margin: 0 0 var(--space-5);
}

.why-us-badge {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  display: inline;
  padding: 0 var(--space-1);
  background-image: linear-gradient(transparent 55%, rgba(8, 180, 234, 0.35) 55%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-us-badge.is-active {
  background-size: 100% 100%;
}

/* Stats block */
.whyus-stats {
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
@media (min-width: 768px) { .whyus-stats { grid-template-columns: repeat(3, 1fr); } }

.whyus-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-14) var(--space-6);
}
@media (max-width: 767px) {
  .whyus-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-6);
    right: var(--space-6);
    height: 1px;
    background: var(--border);
  }
}
@media (min-width: 768px) {
  .whyus-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    top: var(--space-14);
    bottom: var(--space-14);
    right: 0;
    width: 1px;
    background: var(--border);
  }
}

.whyus-stat-value {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: 0;
}
@media (min-width: 768px) { .whyus-stat-value { min-height: 64px; } }

.whyus-stat-num {
  font-family: var(--font-family);
  font-size: var(--text-deco);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: var(--lh-deco);
  letter-spacing: var(--ls-deco);;
}

.whyus-stat-unit {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  line-height: 1;
  letter-spacing: var(--ls-h3);;
}

.whyus-stat-value--text {
  font-family: var(--font-family);
  font-size: var(--text-h1);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: var(--ls-h1);;
  display: block;
  margin: 0;
}

.whyus-stat-label {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  margin: 0;
}

.whyus-stat-desc {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  margin: 0;
}

/* =====================================================================
   SocialProofSection
   ===================================================================== */

#cases {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #cases { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #cases { padding: var(--section-py) var(--section-px); } }

#cases .section-head { margin-bottom: var(--space-3); }
#cases .section-sub { font-weight: var(--fw-regular); color: var(--color-body); line-height: var(--lh-body-lg); margin-bottom: var(--space-14); }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: 1fr 1fr; } }

.case-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.case-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.case-company {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  margin: 0;
}

.case-badge {
  font-family: var(--font-family);
  font-size: var(--text-micro);
  font-weight: var(--fw-regular);
  color: var(--color-main);
  line-height: 1;
  letter-spacing: var(--ls-micro);;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-2);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.case-card-body {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
@media (max-width: 1023px) { .case-card-body { flex-direction: column; } }

.case-avatar {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: block;
}

.case-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-quote {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  margin: 0;
}

.case-person {
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
  margin: 0;
}

/* =====================================================================
   PricingSection
   ===================================================================== */

#pricing {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #pricing { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #pricing { padding: var(--section-py) var(--section-px); } }

#pricing .section-head { margin-bottom: var(--space-3); }
#pricing .section-sub { font-weight: var(--fw-regular); color: var(--color-body); line-height: var(--lh-body-lg); margin-bottom: var(--space-14); }

.pricing-block-label {
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: 1;
  letter-spacing: var(--ls-caption);
  margin: var(--space-14) 0 var(--space-6);
}
.pricing-block-label:first-of-type {
  margin-top: 0;
}

/* Corp plans */
.pricing-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) { .pricing-plans { grid-template-columns: 1fr 1fr; } }

.pricing-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pricing-badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pricing-badge {
  font-family: var(--font-family);
  font-size: var(--text-micro);
  font-weight: var(--fw-regular);
  color: var(--color-main);
  line-height: 1;
  letter-spacing: var(--ls-micro);;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.pricing-badge--primary { background: var(--white); }
.pricing-badge--gray { background: var(--white); }

.pricing-name {
  font-family: var(--font-family);
  font-size: var(--text-h2);
  font-weight: var(--fw-bold);
  color: var(--color-main);
  line-height: 1;
  letter-spacing: var(--ls-h2);;
  margin: 0;
}

.pricing-price {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: 1;
  letter-spacing: var(--ls-body-lg);;
  margin: 0;
}

.pricing-sub-price {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  margin: 0;
}

.pricing-note {
  font-family: var(--font-family);
  font-size: var(--text-micro);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);;
  margin: 0;
}

.pricing-card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-main);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
}

.pricing-feature svg {
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  padding-block: var(--space-3);
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-body);
  line-height: var(--lh-body);;;
  cursor: pointer;
  transition: filter 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-cta:hover { filter: brightness(1.2); }

.pricing-card--allinone {
  border: 1px solid var(--border);
}

.pricing-price-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pricing-cta--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  transition: background 0.2s ease;
}
.pricing-cta--outline:hover { filter: none; background: rgba(32, 56, 100, 0.08); }

/* Enterprise banner */
.pricing-enterprise {
  background: var(--navy);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
  .pricing-enterprise { flex-direction: row; align-items: center; }
}

.pricing-enterprise-title {
  font-family: var(--font-family);
  font-size: var(--text-h3);
  font-weight: var(--fw-semibold);
  color: var(--white);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);;
  margin: 0 0 var(--space-2);
}

.pricing-enterprise-desc {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);;
  margin: 0;
}

.pricing-enterprise-btn {
  background: var(--white);
  color: var(--navy);
  border: none;
  width: 196px;
  padding-block: var(--space-3);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-body);
  line-height: var(--lh-body);;;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease;
}
.pricing-enterprise-btn:hover { filter: brightness(1.05); }

/* Personal divider */
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: var(--space-14) 0 var(--space-6); }

/* Free plan link */
.pricing-free {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}



.pricing-free-desc {
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
  margin: 0;
  flex: 1;
}

.pricing-free-link {
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.pricing-free-link:hover { text-decoration: underline; }
.pricing-free-note {
  font-size: var(--text-micro);
  line-height: var(--lh-micro);
  letter-spacing: var(--ls-micro);
}
@media (max-width: 767px) {
  .pricing-free {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .pricing-free-link {
    white-space: normal;
  }
}

/* =====================================================================
   FaqSection
   ===================================================================== */

#faq {
  background: var(--bg);
  padding: var(--section-py) var(--section-px);
  position: relative;
}
@media (min-width: 768px)  { #faq { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #faq { padding: var(--section-py) var(--section-px); } }

#faq .section-head { margin-bottom: var(--space-3); }
#faq .section-sub { font-weight: var(--fw-regular); color: var(--color-body); line-height: var(--lh-body-lg); margin-bottom: var(--space-14); }

.faq-list {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background-color 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item:hover { background-color: var(--surface); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  min-height: 69px;
  box-sizing: border-box;
}

.faq-question-text {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body-lg);;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  display: flex;
  align-items: center;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

/* Grid-rows accordion (matches React grid-template-rows trick) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner { overflow: hidden; }

.faq-answer-body {
  padding: 0 var(--space-6) var(--space-5);
}
.faq-answer-divider { border: none; border-top: 1px solid var(--border); margin-bottom: var(--space-4); }
.faq-answer-text { font-size: var(--text-body); font-weight: var(--fw-regular); color: var(--color-body); line-height: var(--lh-body);
  letter-spacing: var(--ls-body);; margin: 0; }

/* =====================================================================
   FinalCTASection
   ===================================================================== */

#final-cta {
  background: var(--bg);
  color: var(--navy);
  padding: var(--section-py) var(--section-px);
  text-align: center;
}
@media (min-width: 768px)  { #final-cta { padding: var(--section-py) var(--section-px); } }
@media (min-width: 1024px) { #final-cta { padding: var(--section-py) var(--section-px); } }

.final-cta-inner {
  margin-inline: auto;
  max-width: var(--container-wide);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  padding-inline: var(--space-10);
}

.final-cta-content {
  text-align: center;
}

.final-cta-h2 {
  font-family: var(--font-family);
  font-size: var(--text-h1);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);;
  margin: 0 0 var(--space-3);
}

.final-cta-sub {
  font-family: var(--font-family);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-regular);
  color: var(--navy);
  line-height: var(--lh-body-lg);
  letter-spacing: var(--ls-body-lg);;
  margin: 0 0 var(--space-14);
  text-align: center;
}

.final-cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-14);
  flex-wrap: wrap;
}

.final-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 228px;
  padding-block: var(--space-3);
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter 0.2s ease;
  flex-shrink: 0;
}
.final-cta-btn-primary:hover { filter: brightness(1.05); }

.final-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 228px;
  padding-block: var(--space-3);
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.final-cta-btn-outline:hover { background: rgba(32, 56, 100, 0.08); }

.final-trust {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}
.final-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--navy);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
}

.illustration-finalcta-left {
  width: 100%;
  max-width: 180px;
  height: auto;
  pointer-events: none;
  align-self: start;
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.illustration-finalcta-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.illustration-finalcta-right {
  width: 100%;
  max-width: 200px;
  height: auto;
  pointer-events: none;
  align-self: end;
  justify-self: end;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.illustration-finalcta-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .final-cta-inner {
    grid-template-columns: 1fr;
    padding-inline: var(--space-6);
    gap: var(--space-8);
  }
  .illustration-finalcta-left {
    max-width: 140px;
    align-self: auto;
  }
  .illustration-finalcta-right {
    max-width: 160px;
    align-self: auto;
    justify-self: end;
  }
}

/* =====================================================================
   Footer
   ===================================================================== */

#footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.footer-grid {
  margin-inline: auto;
  max-width: var(--container-wide);
  padding: var(--space-12) var(--space-5);
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: var(--space-8) var(--space-10);
}
/* PC (1024px+) */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: auto auto auto auto;
    padding: var(--space-16) var(--space-10);
  }
}

/* Tablet (768px–1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    padding: var(--space-14) var(--space-8);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* SP (767px-) */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

.footer-logo { height: var(--logo-h-lg); width: auto; margin-bottom: var(--space-4); display: block; }
.footer-tagline { font-size: var(--text-caption); font-weight: var(--fw-regular); color: var(--white); line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);; margin: 0; }

.footer-col-heading {
  font-family: var(--font-family);
  font-size: var(--text-caption);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col p:not(.footer-col-heading) { margin: 0 0 var(--space-2); }
.footer-col a, .footer-col button {
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--white);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.footer-col a:hover, .footer-col button:hover { text-decoration: underline; }


.footer-sns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-out;
}
.footer-sns-link:hover { transform: scale(1.2); }

.footer-bottom {
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-5) 0;
  margin-inline: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}
@media (max-width: 1023px) and (min-width: 768px) {
  .footer-bottom { margin-inline: var(--space-8); }
}
@media (min-width: 1024px) {
  .footer-bottom {
    margin-inline: auto;
    padding-inline: var(--space-10);
    border-top: none;
    position: relative;
  }
  .footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-10);
    right: var(--space-10);
    height: 1px;
    background: rgba(255,255,255,0.1);
  }
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}
.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);;;
  color: var(--white);
  text-decoration: none;
}
.footer-legal-links a:hover {
  text-decoration: underline;
}
.footer-copy {
  font-size: var(--text-caption);
  font-weight: var(--fw-regular);
  color: var(--white);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);;
}

/* =====================================================================
   Contact Pages — shared page header
   ===================================================================== */

.contact-page-header {
  background: var(--navy);
  padding-top: var(--space-14);
  padding-bottom: var(--space-14);
  padding-inline: var(--section-px);
  text-align: center;
}

@media (min-width: 768px) {
  .contact-page-header {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

.contact-page-title {
  font-size: var(--text-page-title);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-h1);
  margin: 0;
}


/* =====================================================================
   Contact Form Page
   ===================================================================== */

.contact-body {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  padding-inline: var(--section-px);
}

@media (min-width: 768px) {
  .contact-body {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

.contact-form-wrap {
  max-width: var(--container);
  margin-inline: auto;
}

.contact-lead {
  max-width: var(--container-form);
  margin-top: 0;
  margin-bottom: var(--space-10);
  font-size: var(--text-body);
  color: var(--navy);
  line-height: var(--lh-body);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  margin-bottom: var(--space-2);
}

.contact-badge {
  font-size: var(--text-micro);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-xs);
  letter-spacing: var(--ls-caption);
}

.contact-badge--required {
  background: var(--danger-surface);
  color: var(--danger);
}

.contact-badge--optional {
  background: var(--color-muted);
  color: var(--white);
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-body);
  font-family: var(--font-family);
  color: var(--color-main);
  line-height: var(--lh-body);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--navy);
  border-width: 2px;
}

.contact-input:user-invalid,
.contact-select:user-invalid,
.contact-textarea:user-invalid {
  border-color: var(--danger);
  border-width: 2px;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-muted);
}

.contact-select-wrap {
  position: relative;
}

.contact-select {
  appearance: none;
  padding-right: var(--space-10);
  cursor: pointer;
}

.contact-select-chevron {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-body);
}

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

.contact-helper {
  margin-top: var(--space-1);
  margin-bottom: 0;
  font-size: var(--text-micro);
  color: var(--color-muted);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  padding: var(--space-3) var(--space-8);
  margin-top: var(--space-6);
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter 0.2s ease;
}

.contact-submit:hover:not(:disabled) {
  filter: brightness(1.2);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.contact-submit-icon,
.contact-submit-spinner {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.contact-submit-spinner {
  display: none;
  animation: spin 0.8s linear infinite;
}

.contact-submit.is-loading .contact-submit-icon {
  display: none;
}

.contact-submit.is-loading .contact-submit-spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.contact-privacy {
  margin-top: var(--space-4);
  margin-bottom: 0;
  font-size: var(--text-caption);
  color: var(--color-muted);
  text-align: left;
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);
}

.contact-privacy-link {
  color: var(--navy);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: baseline;
}

.contact-privacy-link svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.contact-privacy-link:hover {
  text-decoration: underline;
}

/* =====================================================================
   Contact Complete Page
   ===================================================================== */

.contact-complete-body {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  padding-inline: var(--section-px);
}

@media (min-width: 768px) {
  .contact-complete-body {
    padding-top: calc(var(--space-14) * 2);
    padding-bottom: calc(var(--space-14) * 2);
  }
}

.contact-complete-wrap {
  max-width: var(--container);
  margin-inline: auto;
  text-align: center;
}

@keyframes check-icon-appear {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes check-circle-draw {
  from { stroke-dashoffset: 63; }
  to   { stroke-dashoffset: 0; }
}
@keyframes check-mark-draw {
  from { stroke-dashoffset: 20; }
  to   { stroke-dashoffset: 0; }
}

.contact-check-icon {
  display: block;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  color: var(--success);
  animation: check-icon-appear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.contact-check-icon circle {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  animation: check-circle-draw 0.5s ease 0.15s both;
}
.contact-check-icon path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: check-mark-draw 0.3s ease 0.55s both;
}

.contact-complete-title {
  font-size: clamp(24px, 3vw, 28px);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: var(--lh-caption);
  margin-top: 0;
  margin-bottom: var(--space-6);
}

.contact-complete-desc {
  font-size: var(--text-body);
  color: var(--color-body);
  line-height: var(--lh-body);
  margin-top: 0;
  margin-bottom: 0;
}

.contact-complete-notice {
  width: fit-content;
  margin-top: var(--space-6);
  margin-bottom: var(--space-12);
  margin-inline: auto;
  text-align: left;
}

.contact-complete-notice-lead {
  font-size: var(--text-caption);
  color: var(--color-muted);
  line-height: var(--lh-caption);
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.contact-complete-list {
  list-style: disc;
  padding-left: var(--space-5);
  margin: 0;
  font-size: var(--text-caption);
  color: var(--color-muted);
  line-height: var(--lh-caption);
}

.contact-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-sizing: border-box;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.contact-back-btn:hover {
  background: rgba(32, 56, 100, 0.08);
}

/* =====================================================================
   Terms Page
   ===================================================================== */

.terms-header {
  background: var(--navy);
  padding-top: var(--space-14);
  padding-bottom: var(--space-14);
  padding-inline: var(--section-px);
  text-align: center;
}
@media (min-width: 768px) {
  .terms-header {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}
.terms-header h1 {
  font-size: var(--text-h1);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin: 0;
  line-height: var(--lh-h1);
}

.terms-main {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  padding-inline: var(--section-px);
  flex: 1;
}
@media (min-width: 768px) {
  .terms-main {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

.terms-body {
  max-width: var(--container);
  margin-inline: auto;
}

.terms-intro {
  font-size: var(--text-body);
  color: var(--color-body);
  line-height: var(--lh-body);
  margin: 0 0 var(--space-12);
}

.terms-article {
  margin-bottom: var(--space-12);
}
.terms-article h2 {
  font-size: var(--text-h2);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin: 0 0 var(--space-5);
  line-height: var(--lh-h2);
}
.terms-article-intro {
  font-size: var(--text-body);
  color: var(--color-body);
  line-height: var(--lh-body);
  margin: 0 0 var(--space-4);
}
.terms-article p {
  font-size: var(--text-body);
  color: var(--color-body);
  line-height: var(--lh-body);
  margin: 0;
}
.terms-article ol {
  list-style: decimal;
  padding-left: var(--space-6);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.terms-article ol li {
  font-size: var(--text-body);
  color: var(--color-body);
  line-height: var(--lh-body);
}
.terms-article ol ol {
  list-style: lower-roman;
  padding-left: var(--space-6);
  margin-top: var(--space-3);
  gap: var(--space-2);
}

.terms-enacted {
  border-top: 1px solid var(--border);
  padding-top: var(--space-8);
  margin-top: var(--space-12);
  font-size: var(--text-body);
  color: var(--color-body);
  line-height: var(--lh-body);
}
.terms-enacted p { margin: 0; }

/* =====================================================================
   Back to top FAB
   ===================================================================== */

.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(32, 56, 100, 0.3);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-2px);
}
