/* Base tokens */
:root {
--bg: #ffffff;
  --sub-bg: #f5f8fc;
  --pale-blue: #eaf3ff;
  --text: #102033;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --mint: #52bcb1;
  --orange: #f59e0b;
  --border: #e2e8f0;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.08);
  --radius: 28px;
  --container: 1120px;
}

* {
box-sizing: border-box;
}

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

body {
margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.005em;
}

body.nav-open {
overflow: hidden;
}

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

button,
input,
select,
textarea {
font: inherit;
}

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

.container.narrow {
max-width: 860px;
}

.section {
padding: 128px 0;
  position: relative;
}

.soft-bg {
background: var(--sub-bg);
}

.pale-bg {
background: linear-gradient(180deg, var(--pale-blue), #ffffff);
}

/* Header */
.site-header {
position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.compact {
border-bottom-color: var(--border);
}

.site-header.is-scrolled {
background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.06);
}

.header-inner {
width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.brand-text {
font-size: 15px;
}

.global-nav {
display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}

.global-nav a {
color: var(--muted);
  transition: color 0.2s ease;
}

.global-nav a:hover {
color: var(--blue);
}

.global-nav .nav-cta {
padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
}

.global-nav .nav-cta:hover {
color: #fff;
  background: var(--blue-dark);
}

.nav-toggle {
display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
}

.nav-toggle span {
display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.eyebrow {
margin: 0 0 14px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
margin: 0;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

h1 {
font-size: clamp(44px, 6vw, 70px);
}

h2 {
font-size: clamp(28px, 3.5vw, 40px);
}

h3 {
font-size: 20px;
  line-height: 1.55;
}

p {
margin: 0;
}

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

.section-heading.left {
text-align: left;
  margin: 0;
}

.section-heading p:not(.eyebrow) {
margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn span {
transition: transform 0.2s ease;
}

.btn:hover span {
transform: translateX(4px);
}

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

.btn-primary {
color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
background: var(--blue-dark);
}

.btn-large {
min-height: 60px;
  padding-inline: 30px;
}

/* Hero */
.hero {
overflow: hidden;
  padding-top: 108px;
  background:
    radial-gradient(circle at 10% 10%, rgba(82, 188, 177, 0.14), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero-grid {
display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 76px;
  align-items: center;
}

.hero-lead {
max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
position: relative;
  min-height: 460px;
}

.mock-card {
position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.mock-header {
display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mock-header span {
width: 10px;
  height: 10px;
  background: var(--border);
  border-radius: 50%;
}

.mock-header b {
margin-left: auto;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

.mock-body {
padding: 18px 4px 4px;
}

.mock-row {
padding: 18px;
  margin-bottom: 14px;
  background: var(--sub-bg);
  border-radius: 20px;
}

.mock-row.two-col {
display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mock-label {
display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mock-tags {
display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
}

.mock-tags span {
padding: 8px 10px;
  color: var(--blue);
  background: var(--pale-blue);
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.floating {
animation: floating 4.8s ease-in-out infinite;
}

@keyframes floating {
0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mini-panel {
position: absolute;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.12);
  font-weight: 800;
}

.panel-top {
top: 56px;
  left: 0;
}

.panel-bottom {
right: 20px;
  bottom: 52px;
}

.hero-points {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.hero-points div {
display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.hero-points b {
color: var(--mint);
  font-family: "Inter", sans-serif;
}

/* Problem cards */
.check-grid {
display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.check-card {
position: relative;
  padding: 20px 22px 20px 52px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-weight: 700;
}

.check-card::before {
content: "✓";
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--mint);
  font-weight: 900;
}

.center-message {
margin-top: 34px;
  text-align: center;
  font-weight: 800;
}

.pricing-grid {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card,
.flow-grid article,
.pricing-card p,
.flow-grid p {
color: var(--muted);
}

.pricing-card ul {
padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.pricing-card li {
position: relative;
  padding-left: 24px;
  margin-top: 10px;
  color: var(--muted);
}

.pricing-card li::before {
content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
}

/* Pricing */
.pricing-card {
position: relative;
}

.pricing-card.featured {
border: 2px solid var(--blue);
  transform: translateY(-10px);
}

.recommended {
position: absolute;
  top: -16px;
  left: 28px;
  padding: 6px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.price {
margin-top: 18px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.plan-lead {
margin-top: 8px;
  font-weight: 800;
}

.pricing-card .btn {
margin-top: 26px;
}

/* Flow */
.flow-grid {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flow-grid span {
display: inline-flex;
  margin-bottom: 14px;
  color: var(--mint);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

/* FAQ / CTA / Footer */
.faq-list {
display: grid;
  gap: 14px;
}

.faq-list details {
background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.faq-list summary {
cursor: pointer;
  padding: 22px 26px;
  font-weight: 800;
}

.faq-list p {
padding: 0 26px 24px;
  color: var(--muted);
}

.final-cta {
text-align: center;
  background: linear-gradient(180deg, #fff, var(--sub-bg));
}

.final-cta .container {
max-width: 860px;
}

.final-cta p:not(.eyebrow) {
margin: 20px auto 32px;
  color: var(--muted);
}

.site-footer {
padding: 56px 0 28px;
  color: #d7e2f1;
  background: var(--text);
}

.footer-grid {
display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-mark {
background: #fff;
  color: var(--blue);
}

.site-footer p {
margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
}

.footer-nav a:hover {
color: #fff;
}

.footer-bottom {
display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.64);
}

.footer-bottom p {
max-width: 720px;
  margin: 0;
  font-size: 11px;
}

.policy-page {
background: linear-gradient(180deg, var(--sub-bg), #fff 240px);
}

.document {
padding: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(16, 32, 51, 0.06);
}

.document h1 {
margin-bottom: 24px;
}

.document h2 {
margin-top: 42px;
  font-size: 24px;
}

.document p,
.document li {
color: var(--muted);
}

.document ul {
margin: 16px 0 0;
}

.policy-note {
margin-top: 40px;
  padding: 22px;
  background: var(--sub-bg);
  border-radius: 20px;
}

.reveal,
.reveal-list > * {
opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.reveal-list > *.is-visible {
opacity: 1;
  transform: translateY(0);
}

.delay-1 {
transition-delay: 0.08s;
}

.delay-2 {
transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}

*,
*::before,
*::after {
animation: none !important;
    transition-duration: 0.01ms !important;
}

.reveal,
.reveal-list > * {
opacity: 1;
    transform: none;
}
}

/* Responsive */
@media (max-width: 980px) {
.section {
padding: 82px 0;
}

.hero-grid,
.two-column,
.footer-grid {
grid-template-columns: 1fr;
}

.hero-visual {
min-height: auto;
}

.mock-card {
margin: 0 auto;
}

.hero-points,
.pricing-grid,
.flow-grid,
.pricing-card.featured {
transform: none;
}

.section-heading.left {
text-align: center;
}

.footer-nav {
justify-content: flex-start;
}

.footer-bottom {
flex-direction: column;
}
}

@media (max-width: 760px) {
.header-inner {
height: 68px;
}

.brand-text {
font-size: 13px;
}

.nav-toggle {
display: block;
}

.global-nav {
position: fixed;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.global-nav.is-open {
display: flex;
}

.hero {
padding-top: 72px;
}

.hero-actions {
flex-direction: column;
}

.btn {
width: 100%;
}

.hero-points div {
padding: 18px;
}

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

.mock-row.two-col {
grid-template-columns: 1fr;
}

.mini-panel {
position: static;
    display: inline-flex;
    margin-top: 14px;
    margin-right: 10px;
}

.document {
padding: 28px;
}
}

@media (max-width: 480px) {
.container {
width: min(calc(100% - 28px), var(--container));
}

.section {
padding: 68px 0;
}
}

.company-hero {
background:
    radial-gradient(circle at 15% 20%, rgba(82, 188, 177, 0.14), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  text-align: center;
}

/* Company / Policy pages */
.company-table-card {
background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.04);
}

.company-table-card {
padding: 34px;
}

.company-table {
margin: 0;
}

.company-table div {
display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.company-table div:last-child {
border-bottom: 0;
}

.company-table dt {
color: var(--muted);
  font-weight: 800;
}

.company-table dd {
margin: 0;
  font-weight: 700;
}

.company-table a {
color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
.company-table-card {
padding: 24px;
}

.company-table div {
grid-template-columns: 1fr;
    gap: 6px;
}
}

.brand-mark {
font-size: 13px;
}

.hero h1 {
max-width: 760px;
  letter-spacing: -0.04em;
}

.hero h1 span {
display: block;
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.48;
  color: var(--blue);
  letter-spacing: -0.015em;
}

.section-heading h2 {
line-height: 1.46;
}

.section-heading p:not(.eyebrow) {
max-width: 720px;
  margin-inline: auto;
  line-height: 1.9;
}

.section-heading.left p:not(.eyebrow) {
margin-inline: 0;
}

.flow-grid h3,
.flow-grid p {
margin-top: 12px;
  line-height: 1.85;
  font-size: 15px;
}

.pricing-card li {
line-height: 1.65;
}

.pricing-card,
.flow-grid article,
.flow-grid article:hover {
transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.07);
  border-color: rgba(37, 99, 235, 0.18);
}

.mock-card {
box-shadow: 0 28px 80px rgba(16, 32, 51, 0.10);
}

.mock-row strong {
line-height: 1.55;
}

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

.hero-grid {
gap: 48px;
}
}

@media (max-width: 760px) {
.hero h1 {
font-size: clamp(38px, 12vw, 52px);
}

.hero h1 span {
font-size: 21px;
}

.section-heading {
margin-bottom: 40px;
}
}

.check-card {
min-height: 72px;
  display: flex;
  align-items: center;
  line-height: 1.55;
}

.hero-points span {
line-height: 1.55;
  font-weight: 800;
}

.policy-page .section,
.company-page .section {
padding-top: 88px;
  padding-bottom: 88px;
}

.policy-page h1,
.company-page h1 {
font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
.policy-page .section,
.company-page .section {
padding-top: 56px;
    padding-bottom: 64px;
}

.policy-page h1,
.company-page h1 {
font-size: clamp(28px, 9vw, 36px);
}
}

.company-business-list {
margin: 0;
  padding-left: 1.2em;
}

.company-business-list li {
margin: 0.25em 0;
  color: var(--text);
}

.company-page .company-hero {
padding-bottom: 48px;
}

.company-page .company-table-card {
max-width: 100%;
}

@media (max-width: 640px) {
.company-business-list {
padding-left: 1em;
}
}

.flow-grid-journey {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 34px;
  align-items: stretch;
}

.flow-grid-journey .flow-step {
position: relative;
  overflow: visible;
  min-height: 250px;
}

.flow-grid-journey .step-01 {
order: 1;
}

.flow-grid-journey .step-02 {
order: 2;
}

.flow-grid-journey .step-03 {
order: 3;
}

.flow-grid-journey .step-06 {
order: 4;
}

.flow-grid-journey .step-05 {
order: 5;
}

.flow-grid-journey .step-04 {
order: 6;
}

.flow-grid-journey .flow-step::before,
.flow-grid-journey .flow-step::after {
content: "";
  position: absolute;
  pointer-events: none;
}

.flow-grid-journey .flow-arrow-right::after {
right: -34px;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--mint);
  transform: translateY(-50%);
}

.flow-grid-journey .flow-arrow-right::before {
right: -34px;
  top: calc(50% - 6px);
  border-left: 10px solid var(--mint);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.flow-grid-journey .flow-arrow-left::after {
left: -34px;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--mint);
  transform: translateY(-50%);
}

.flow-grid-journey .flow-arrow-left::before {
left: -34px;
  top: calc(50% - 6px);
  border-right: 10px solid var(--mint);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.flow-grid-journey .flow-arrow-down::after {
right: 52px;
  bottom: -34px;
  width: 2px;
  height: 34px;
  background: var(--mint);
}

.flow-grid-journey .flow-arrow-down::before {
right: 46px;
  bottom: -34px;
  border-top: 10px solid var(--mint);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

@media (max-width: 980px) {
.flow-grid-journey {
grid-template-columns: 1fr;
    gap: 18px;
    position: relative;
}

.flow-grid-journey::before {
content: "";
    position: absolute;
    left: 23px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(82,188,177,0.15), rgba(82,188,177,0.75), rgba(82,188,177,0.15));
}

.flow-grid-journey .flow-step {
min-height: auto;
    order: initial;
    margin-left: 26px;
}

.flow-grid-journey .flow-step::after,
.flow-grid-journey .flow-step::before {
content: "";
    position: absolute;
    pointer-events: none;
}

.flow-grid-journey .flow-step::before {
left: -40px;
    top: 36px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 6px rgba(82, 188, 177, 0.14);
    border: none;
}

.flow-grid-journey .flow-step::after {
left: -33px;
    bottom: -18px;
    width: 2px;
    height: 18px;
    background: var(--mint);
    transform: none;
}

.flow-grid-journey .flow-step:last-child::after {
display: none;
}
}

@media (max-width: 640px) {
.flow-grid-journey .flow-step {
margin-left: 22px;
}

.flow-grid-journey::before {
left: 19px;
}

.flow-grid-journey .flow-step::before {
left: -34px;
}

.flow-grid-journey .flow-step::after {
left: -27px;
}
}

.pricing-grid-compare {
align-items: stretch;
}

.plan-card {
display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-top {
min-height: 158px;
}

.plan-card.featured .plan-top {
padding-top: 8px;
}

.plan-actions {
display: grid;
  gap: 12px;
  margin-top: auto;
}

.btn[type="button"] {
appearance: none;
  border: 0;
  cursor: pointer;
}

/* Plan modals */
.modal-layer[hidden],
.plan-modal[hidden] {
display: none;
}

.modal-layer {
position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 28px;
}

.modal-backdrop {
position: absolute;
  inset: 0;
  background: rgba(16, 32, 51, 0.52);
  backdrop-filter: blur(6px);
}

.plan-modal {
position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(16, 32, 51, 0.24);
}

.modal-close {
position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

.plan-modal h2 {
max-width: 680px;
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.modal-lead {
max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.modal-grid {
display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.modal-grid > div {
padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--sub-bg);
}

.modal-grid h3 {
margin-bottom: 14px;
  font-size: 18px;
}

.modal-grid ul {
margin: 0;
  padding: 0;
  list-style: none;
}

.modal-grid li {
position: relative;
  padding-left: 24px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.modal-grid li:first-child {
margin-top: 0;
}

.modal-grid li::before {
content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
}

body.modal-open {
overflow: hidden;
}

@media (max-width: 980px) {
.plan-top {
min-height: auto;
}

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

@media (max-width: 640px) {
.modal-layer {
padding: 14px;
}

.plan-modal {
padding: 30px 22px;
    border-radius: 24px;
}

.modal-close {
top: 14px;
    right: 14px;
}
}

.section-heading h2,
.final-cta h2,
.company-page h1,
.hero h1 {
word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: balance;
}

.section-heading p,
.hero-lead,
.final-cta p,
.plan-lead {
word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.pricing-grid-compare .plan-card {
gap: 22px;
}

.plan-scope-list {
display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.plan-scope-list li {
position: relative;
  margin: 0;
  padding: 14px 16px 14px 38px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
}

.plan-scope-list li:last-child {
border-bottom: 0;
}

.plan-scope-list li::before {
content: "";
  position: absolute;
  left: 18px;
  top: 1.35em;
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
}

.plan-detail-button {
display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.plan-detail-button:hover {
background: var(--pale-blue);
  border-color: rgba(37, 99, 235, 0.42);
  transform: translateY(-1px);
}

.plan-detail-button.featured-detail {
color: var(--blue);
  background: #fff;
}

.plan-modal .btn {
display: none;
}

@media (max-width: 640px) {
.section-heading h2,
.final-cta h2 {
word-break: normal;
    overflow-wrap: anywhere;
}
}

.recommended {
padding-inline: 18px;
}

.plan-top {
min-height: 174px;
}

.plan-scope-list li {
display: block;
  min-height: 112px;
  padding: 18px 18px 16px 42px;
  font-size: unset;
  line-height: 1.6;
  font-weight: unset;
}

.plan-scope-list li::before {
top: 28px;
}

.plan-item-main,
.plan-item-sub {
display: block;
}

.plan-item-main {
color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.plan-item-sub {
margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.modal-hero {
display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.modal-visual {
display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--sub-bg);
}

.plan-modal .modal-lead {
margin-bottom: 0;
}

.plan-modal .modal-grid {
margin-top: 0;
}

.plan-modal .modal-grid > div {
background: #fff;
}

.plan-modal .modal-grid li {
line-height: 1.75;
}

@media (max-width: 980px) {
.plan-top {
min-height: auto;
}

.plan-scope-list li {
min-height: auto;
}

.modal-hero {
grid-template-columns: 1fr;
}

.modal-visual {
max-width: 520px;
}
}

@media (max-width: 640px) {
.plan-scope-list li {
padding: 16px 16px 15px 38px;
}

.plan-item-main {
font-size: 15px;
}

.plan-item-sub {
font-size: 12.5px;
}
}

/* Integrated service area */
.service-integrated-section .section-heading {
max-width: 920px;
}

.service-integrated-grid {
display: grid;
  gap: 24px;
  margin-top: 56px;
}

.service-integrated-card {
display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 20px 70px rgba(16, 32, 51, 0.06);
}

.service-integrated-card img {
width: 100%;
  max-width: 240px;
  height: auto;
  justify-self: center;
}

.service-integrated-card h3 {
margin-top: 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.service-integrated-card p:not(.eyebrow) {
margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

.service-integrated-card ul {
display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-integrated-card li {
display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--sub-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.service-tags {
display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-tags span {
display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  color: var(--blue);
  background: var(--pale-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
.service-integrated-card {
grid-template-columns: 1fr;
}

.service-integrated-card img {
max-width: 220px;
}

.service-integrated-card ul {
grid-template-columns: 1fr;
}
}

@media (max-width: 640px) {
.service-integrated-grid {
margin-top: 36px;
}

.service-integrated-card {
padding: 24px;
    border-radius: 24px;
}

.service-integrated-card img {
max-width: 180px;
}
}

@media (max-width: 640px) {
  .service-integrated-card img {
    max-width: 168px;
  }
}

/* v25: restore card spacing and separate chat conclusion */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 42px 34px 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 18px 58px rgba(16, 32, 51, 0.06);
  overflow: visible;
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 22px 74px rgba(37, 99, 235, 0.12);
}

.plan-card {
  gap: 24px;
}

.plan-top {
  min-height: 172px;
}

.plan-card h3 {
  color: var(--text);
}

.plan-lead {
  color: var(--muted);
  line-height: 1.75;
}

.plan-scope-list {
  margin-top: 0;
  border-radius: 22px;
}

.plan-scope-list li {
  min-height: 104px;
  padding: 18px 18px 16px 44px;
}

.plan-scope-list li::before {
  left: 20px;
  top: 29px;
}

.plan-actions {
  padding-top: 2px;
}

.flow-grid-journey {
  gap: 36px;
}

.flow-grid-journey .flow-step {
  min-height: 210px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 16px 46px rgba(16, 32, 51, 0.06);
}

.flow-grid-journey .flow-step span {
  margin-bottom: 16px;
}

.flow-grid-journey .flow-step h3 {
  color: var(--text);
}

.flow-grid-journey .flow-step p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 700;
}

.service-integrated-card img {
  max-width: 190px;
}

@media (max-width: 980px) {
  .pricing-card {
    padding: 34px 28px 30px;
  }

  .plan-top {
    min-height: auto;
  }

  .plan-scope-list li {
    min-height: auto;
  }

  .flow-grid-journey .flow-step {
    padding: 26px;
  }

  }

@media (max-width: 640px) {
  .pricing-card {
    padding: 30px 22px 26px;
    border-radius: 24px;
  }

  .flow-grid-journey .flow-step {
    padding: 24px;
    border-radius: 22px;
  }

  .service-integrated-card img {
    max-width: 156px;
  }
}

/* v26: center the vertical connector between FLOW cards */
.flow-grid-journey .flow-arrow-down::after {
  left: 50%;
  right: auto;
  bottom: -36px;
  width: 2px;
  height: 36px;
  transform: translateX(-50%);
}

.flow-grid-journey .flow-arrow-down::before {
  left: 50%;
  right: auto;
  bottom: -36px;
  transform: translateX(-50%);
  border-top: 10px solid var(--mint);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}


/* v27: spacing adjustments */
.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero {
  padding-top: 116px;
  padding-bottom: 88px;
}

.final-cta {
  padding-top: 88px;
  padding-bottom: 88px;
}

.company-page .company-hero {
  padding-bottom: 36px;
}

.pricing-grid {
  gap: 20px;
}

.pricing-card {
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 980px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .pricing-grid {
    gap: 18px;
  }

  .pricing-card {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 56px;
  }

  .final-cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .pricing-grid {
    gap: 16px;
  }

  .pricing-card {
    padding-left: 24px;
    padding-right: 24px;
  }
}
