:root {
  color-scheme: light;
  --ink: #2b2822;
  --ink-soft: #463d32;
  --muted: #776b5f;
  --brown-900: #4c3007;
  --brown-800: #7a4b05;
  --brown-700: #b16f03;
  --amber: #f9bd38;
  --amber-soft: #fff1d2;
  --yellow: #f5a004;
  --yellow-soft: #fff3d8;
  --lime: #dfff3f;
  --blue: #1669c7;
  --blue-deep: #1c2d42;
  --blue-muted: #7f92a4;
  --paper: #fff8ed;
  --ivory: #fffdf8;
  --line: rgba(76, 48, 7, 0.16);
  --line-strong: rgba(76, 48, 7, 0.28);
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(76, 48, 7, 0.08);
  --shadow-card: 0 12px 32px rgba(76, 48, 7, 0.06);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: AdjustedYuGothic, "Yu Gothic", YuGothic, "Hiragino Sans", sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 48px, var(--container));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-header .brand {
  gap: 0;
}

.brand-logo {
  display: block;
  width: clamp(132px, 12.5vw, 174px);
  height: auto;
  flex: 0 0 auto;
}

.brand-mark {
  width: 36px;
  height: 25px;
  display: inline-block;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--brown-900), var(--brown-700) 58%, var(--amber));
  clip-path: polygon(0 100%, 100% 0, 78% 100%);
  flex: 0 0 auto;
}

.brand-mark::before {
  content: none;
}

.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 11px 17px;
  color: var(--white);
  background: var(--yellow);
  border: 1px solid rgba(76, 48, 7, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(245, 160, 4, 0.22);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.section {
  padding: 110px 0;
}

section[id] {
  scroll-margin-top: 132px;
}

.solution-card[id],
.service-flow-block[id] {
  scroll-margin-top: 132px;
}

.section-dark {
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(76, 48, 7, 0.96), rgba(122, 75, 5, 0.82)),
    url("assets/hero-editorial-tax.png") center / cover;
}

.hero.section-dark {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--ivory);
  background:
    linear-gradient(104deg, #f5a004 43%, #df8a03 72.87%, #b86504 102.74%);
}

.hero.section-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 48px;
  min-height: 33.5rem;
  padding: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-self: stretch;
}

.hero-visual img {
  position: absolute;
  top: -6px;
  right: -18px;
  display: block;
  width: clamp(520px, 47vw, 570px);
  height: auto;
  max-width: none;
  margin: 0;
  filter: drop-shadow(0 28px 42px rgba(76, 48, 7, 0.26));
  transform-origin: right bottom;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  margin: 0 0 20px;
  color: var(--ink);
  background: var(--amber-soft);
  border: 1px solid rgba(245, 160, 4, 0.28);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.section-label.light {
  color: var(--ink);
  background: var(--amber);
}

.hero .eyebrow {
  color: var(--ivory);
  background: rgba(76, 48, 7, 0.18);
  border-color: rgba(255, 253, 248, 0.26);
}

.hero h1 {
  margin: 0;
  color: inherit;
  font-size: 66px;
  line-height: 1.16;
  font-weight: 800;
}

.hero-title {
  width: min(100%, 596px);
}

.hero-title img {
  width: 100%;
  height: auto;
}

.hero-copy-art {
  width: min(100%, 610px);
  margin: 0;
}

.hero-copy-art img {
  width: 100%;
  height: auto;
}

.hero-consult-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  height: 56px;
  margin-top: 44px;
  padding: 14px 54px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(255, 253, 248, 0.68);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(76, 48, 7, 0.16);
  font-weight: 600;
  white-space: nowrap;
}

.hero-consult-button span {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 11px;
  color: var(--brown-900);
  background: #ffe11e;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
}

.hero-consult-button strong {
  display: block;
  width: 100%;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

.hero-consult-button i,
.hero-consult-button svg {
  position: absolute;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ivory);
  background: var(--brown-800);
  border-radius: 50%;
  padding: 6px;
  stroke-width: 3;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 520px;
  color: rgba(255, 253, 248, 0.92);
  font-size: 20px;
  font-weight: 600;
}

.hero-actions,
.agent-steps + .primary-button {
  margin-top: 34px;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 23px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.25;
}

.primary-button {
  color: var(--white);
  background: var(--yellow);
  border: 1px solid rgba(76, 48, 7, 0.08);
  box-shadow: 0 16px 34px rgba(245, 160, 4, 0.24);
}

.primary-button.center-cta {
  margin-inline: auto;
}

.secondary-button {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: var(--ivory);
}

.hero .primary-button {
  color: var(--brown-900);
  background: var(--ivory);
  box-shadow: 0 18px 36px rgba(76, 48, 7, 0.18);
}

.hero .secondary-button {
  color: var(--ivory);
  border-color: rgba(255, 253, 248, 0.48);
  background: rgba(255, 253, 248, 0.1);
}

.primary-button svg,
.secondary-button svg,
.service-card svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.trust-strip {
  display: flex;
  align-items: center;
  min-height: 258px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.trust-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(620px, 660px);
  justify-content: center;
  gap: 28px;
  align-items: center;
}

.line-device-stack {
  position: relative;
  display: flex;
  min-height: 228px;
  align-items: center;
  justify-content: center;
  padding-left: 0;
}

.trust-process-image {
  width: auto;
  height: 198px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(76, 48, 7, 0.16));
}

.trust-image-card {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(76, 48, 7, 0.12);
  border-radius: 8px;
  background: #fefcf5;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(76, 48, 7, 0.13);
}

.trust-image-card-line {
  top: 7px;
  left: 0;
  z-index: 2;
  width: 300px;
  aspect-ratio: 3 / 2;
  object-position: 42% center;
}

.trust-image-card-pack {
  right: 0;
  bottom: 4px;
  z-index: 1;
  width: 255px;
  aspect-ratio: 3 / 2;
  object-position: center;
}

.desktop-mockup {
  position: relative;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(76, 48, 7, 0.18);
  border-radius: 8px 8px 5px 5px;
  background: #ffffff;
  box-shadow: 0 18px 28px rgba(76, 48, 7, 0.12);
}

.desktop-mockup::after {
  position: absolute;
  right: 34px;
  bottom: 0;
  left: 112px;
  height: 7px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, rgba(76, 48, 7, 0.12), rgba(76, 48, 7, 0.04));
  content: "";
}

.mockup-topbar {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: #06a45f;
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
}

.mockup-topbar span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.mockup-topbar strong {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 600;
}

.mockup-body {
  display: grid;
  min-height: 150px;
  grid-template-columns: 118px 1fr;
  background: #f7fbf8;
}

.line-sidebar {
  padding: 18px 12px;
  background: #edf8f1;
  color: #23553b;
}

.line-sidebar span {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--brown-900);
  font-size: 15px;
  font-weight: 800;
}

.line-sidebar p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.line-chat {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 13px 16px 16px;
  background:
    linear-gradient(180deg, rgba(245, 160, 4, 0.06), rgba(255, 255, 255, 0) 46%),
    #ffffff;
}

.chat-date {
  justify-self: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #edf0ec;
  color: #77736d;
  font-size: 9px;
  font-weight: 600;
}

.bubble,
.phone-bubble {
  width: fit-content;
  max-width: 190px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.bubble {
  padding: 5px 9px;
}

.bubble.sent,
.phone-bubble.sent {
  justify-self: end;
  background: #bdf1ca;
  color: #173c27;
}

.bubble.received,
.phone-bubble.received {
  justify-self: start;
  border: 1px solid rgba(76, 48, 7, 0.1);
  background: #ffffff;
  color: var(--ink-soft);
}

.receipt-card {
  width: 122px;
  padding: 8px 10px;
  border: 1px solid rgba(76, 48, 7, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(76, 48, 7, 0.08);
}

.receipt-card span,
.receipt-card small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.receipt-card strong {
  display: block;
  margin: 2px 0 1px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.phone-mockup {
  position: absolute;
  bottom: 2px;
  left: 10px;
  width: 92px;
  height: 174px;
  padding: 5px;
  border-radius: 20px;
  background: #1e1a16;
  box-shadow: 0 18px 28px rgba(76, 48, 7, 0.18);
}

.phone-screen {
  display: grid;
  align-content: start;
  gap: 6px;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  background: #ffffff;
}

.phone-head {
  padding: 7px 8px;
  background: #06a45f;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
}

.phone-bubble {
  margin: 0 7px;
  padding: 5px 7px;
  font-size: 8px;
}

.phone-receipt {
  margin: 0 9px;
  padding: 8px 7px;
  border-radius: 6px;
  background: #f5f0e8;
  color: var(--muted);
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.45;
}

.phone-receipt strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.trust-showcase-copy h2 {
  margin: 0 0 18px;
  color: var(--brown-700);
  font-size: 30px;
  line-height: 1.26;
  font-weight: 600;
  white-space: nowrap;
}

.solution-lines {
  display: grid;
  gap: 10px;
  margin: 0;
}

.solution-lines div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.solution-lines dt {
  position: relative;
  display: grid;
  min-height: 30px;
  place-items: center;
  border-radius: 5px;
  background: var(--brown-800);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.solution-lines dt::after {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid var(--brown-800);
  content: "";
  transform: translateY(-50%);
}

.solution-lines dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.38;
  font-weight: 800;
}

h2.center {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 800;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
th,
td,
label,
legend,
.primary-button,
.secondary-button,
.hero-consult-button {
  overflow-wrap: anywhere;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.problem-solution .two-column {
  max-width: 960px;
  grid-template-columns: 1fr;
  gap: 58px;
}

.section.problem-solution {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--white);
}

.problem-solution .two-column > div:first-child {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 110px max(24px, calc((100vw - 960px) / 2));
  overflow: visible;
  background: #f4f8f9;
  border-bottom: 1px solid var(--line);
}

.problem-solution .two-column > div:first-child::after {
  position: absolute;
  left: 50%;
  bottom: -48px;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 48px solid #f4f8f9;
  border-right: 82px solid transparent;
  border-left: 82px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.problem-solution .two-column > div:first-child::before {
  position: absolute;
  left: 50%;
  bottom: -50px;
  z-index: 0;
  width: 0;
  height: 0;
  border-top: 50px solid var(--line);
  border-right: 84px solid transparent;
  border-left: 84px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.problem-solution .two-column > div:first-child h2 {
  text-align: center;
  font-weight: 600;
}

.problem-solution .solution-card {
  width: 100%;
  text-align: center;
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.pain-list article {
  display: grid;
  gap: 14px;
  align-content: start;
  align-items: center;
  min-height: 332px;
  padding: 20px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.pain-list img {
  width: 100%;
  max-width: 184px;
  height: 120px;
  margin: 0 auto;
  object-fit: contain;
}

.pain-list h3 {
  min-height: 0;
  margin-top: 2px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.pain-list p {
  max-width: 284px;
  margin-inline: auto;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
}

.pain-list ul {
  display: grid;
  gap: 8px;
  width: min(100%, 274px);
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: left;
}

.pain-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.pain-list li::before {
  position: absolute;
  top: 0.73em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.pain-list p,
.solution-card p,
.service-card p,
.pricing p,
.flow-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.pain-list article > p {
  margin-inline: auto;
}

.solution-card {
  padding: 58px 0 46px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
}

.solution-intro {
  width: min(100%, 898px);
  margin-inline: auto;
  text-align: center;
}

.solution-title-image {
  display: block;
  width: min(100%, 700px);
  height: auto;
  margin-inline: auto;
}

.solution-intro p {
  max-width: 860px;
  margin: 14px auto 0;
}

.solution-price-inline {
  display: inline-block;
  margin-inline: 0.12em;
  color: var(--brown-800);
  font-size: 1.14em;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.solution-transform-list {
  display: grid;
  gap: 12px;
  width: min(100%, 900px);
  margin: 34px auto 0;
}

.solution-transform-list article {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.solution-before,
.solution-after {
  display: grid;
  gap: 4px;
}

.solution-before {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f8f9;
}

.solution-before span,
.solution-after span {
  color: var(--brown-800);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.solution-before strong,
.solution-after strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
}

.solution-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.service-detail-block,
.service-flow-block {
  margin-top: 82px;
  text-align: left;
}

.service-flow-block {
  padding-top: 56px;
}

.solution-section-head {
  display: grid;
  max-width: 862px;
  margin: 0 auto;
  gap: 10px;
  text-align: center;
}

.solution-section-head span {
  width: fit-content;
  margin-inline: auto;
  padding: 5px 12px;
  border: 1px solid var(--blue-deep);
  border-radius: 999px;
  background: var(--lime);
  color: var(--blue-deep);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
}

.service-detail-block > .solution-section-head span {
  background: #dfff38;
}

.solution-section-head h3 {
  font-size: 30px;
  line-height: 1.42;
  font-weight: 600;
}

.solution-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

#flow .solution-section-head {
  max-width: 880px;
}

.solution-service-grid {
  margin-top: 30px;
}

.solution-service-grid .service-card {
  grid-template-columns: 1fr;
  gap: 15px;
  min-height: 330px;
  align-content: start;
  padding: 16px 16px 19px;
  background: rgba(255, 255, 255, 0.92);
}

.service-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  padding: 7px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.solution-service-grid .service-card h3 {
  font-weight: 600;
}

.solution-service-grid .service-card p {
  font-size: 14px;
}

.service-flow-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.service-flow-list article {
  min-height: 178px;
  background: rgba(255, 255, 255, 0.92);
}

.service-flow-list span {
  background: var(--yellow);
  color: var(--brown-900);
}

.flow-phase-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
}

.flow-phase-band span {
  position: relative;
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 0 20px;
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 0 100%, 17px 50%);
  background: var(--amber-soft);
  color: var(--brown-800);
  font-size: 15px;
  font-weight: 600;
}

.flow-phase-band span:first-child {
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 0 100%);
}

.flow-phase-band span:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 17px 50%);
}

.flow-phase-band .is-current {
  background: var(--yellow);
  color: var(--brown-900);
}

.flow-phase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.flow-phase-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 430px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.flow-phase-card-featured {
  border-color: rgba(245, 160, 4, 0.55);
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e8 100%);
  box-shadow: 0 18px 42px rgba(177, 111, 3, 0.12);
}

.flow-phase-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.flow-step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brown-800);
  color: var(--ivory);
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
}

.flow-phase-card-featured .flow-step-number {
  background: var(--yellow);
  color: var(--brown-900);
}

.flow-phase-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--brown-800);
  font-size: 13px;
  font-weight: 600;
}

.flow-phase-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 2px auto 0;
  border: 1px solid rgba(76, 48, 7, 0.1);
  border-radius: 8px;
  background: #f4f7f5;
}

.flow-phase-card-featured .flow-phase-image {
  height: auto;
}

.flow-phase-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.42;
  font-weight: 700;
}

.flow-phase-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.76;
}

.flow-phase-points {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-phase-points li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.flow-phase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.flow-phase-owner {
  width: fit-content;
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(76, 48, 7, 0.08);
  color: var(--brown-800);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.flow-phase-card-featured .flow-phase-owner {
  background: var(--brown-800);
  color: var(--ivory);
}

.solution-cta {
  margin-top: 42px;
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brown-800);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 10px;
  border: solid var(--ivory);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.process-band {
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(76, 48, 7, 0.96), rgba(122, 75, 5, 0.96)),
    url("assets/hero-editorial-tax.png") center / cover;
  text-align: center;
}

.process-band h2 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ivory);
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.agent-steps article {
  position: relative;
  min-height: 248px;
  padding: 26px 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  text-align: left;
  box-shadow: 0 18px 38px rgba(16, 18, 15, 0.16);
}

.agent-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 11px solid rgba(255, 255, 255, 0.88);
  transform: translateY(-50%);
}

.agent-steps span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--ivory);
  background: var(--brown-800);
  border-radius: 50%;
  font-weight: 800;
}

.agent-steps p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 142px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.service-card svg {
  color: var(--brown-800);
}

.service-card p {
  margin-top: 8px;
}

.savings {
  background: var(--paper);
}

.savings-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.savings-copy {
  width: min(100%, 920px);
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.savings-copy h2 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 600;
  white-space: nowrap;
}

.savings-copy > p {
  max-width: 720px;
  margin: 16px auto 0;
  color: #2b2842;
  font-size: 15px;
  font-weight: 600;
}

.savings-story {
  display: grid;
  width: min(100%, 920px);
  margin: 0 auto;
  gap: 12px;
}

.savings-base,
.savings-tax-breaks article,
.savings-result,
.savings-note {
  border-radius: 8px;
}

.savings-base {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.savings-base::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}

.savings-base span,
.savings-tax-breaks span,
.savings-total-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 600;
}

.savings-base h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.savings-base p,
.savings-tax-breaks p,
.savings-total-card p {
  margin: 12px 0 0;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
}

.savings-base strong {
  color: var(--yellow);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 0.95;
  font-weight: 600;
  white-space: nowrap;
}

.savings-tax-breaks {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.92fr) minmax(0, 1.16fr);
  gap: 12px;
  align-items: stretch;
}

.savings-tax-breaks article {
  position: relative;
  min-height: 124px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.savings-tax-breaks article:first-child::after,
.savings-tax-breaks article:nth-child(2)::after {
  position: absolute;
  top: 50%;
  right: -23px;
  z-index: 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--blue-deep);
  font-size: 19px;
  font-weight: 600;
  transform: translateY(-50%);
}

.savings-tax-breaks article:first-child::after {
  content: "+";
}

.savings-tax-breaks article:nth-child(2)::after {
  content: "=";
}

.savings-tax-breaks strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.savings-total-card {
  border: 2px solid var(--yellow);
}

.savings-total-card strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.savings-result {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: min(100%, 920px);
  margin: 4px auto 0;
  padding: 14px 22px;
  border: 1px solid rgba(28, 45, 66, 0.08);
  background: var(--lime);
  color: var(--blue-deep);
  text-align: center;
  box-shadow: 0 18px 38px rgba(28, 45, 66, 0.1);
}

.savings-result span,
.savings-result strong {
  display: block;
  line-height: 1.45;
}

.savings-result span {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 600;
}

.savings-result strong {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
}

.savings-note {
  margin: 0;
  padding: 12px 18px;
  background: transparent;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.section-label-lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--blue-deep);
}

.customer-cases {
  background: var(--white);
}

.service-results {
  width: min(100%, 1040px);
  margin: 0 auto 82px;
}

.service-results h2 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 600;
  text-align: center;
}

.service-results-list {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid rgba(28, 45, 66, 0.22);
}

.service-result-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  align-items: center;
  min-height: 170px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(28, 45, 66, 0.22);
}

.service-result-label h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
}

.service-result-label p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.service-result-value {
  min-width: 0;
  color: var(--yellow);
  text-align: left;
}

.service-result-value span {
  display: inline-flex;
  align-items: baseline;
  color: var(--yellow);
  font-size: clamp(48px, 8vw, 80px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.service-result-value .count-number {
  display: inline;
  font: inherit;
  line-height: inherit;
}

.service-result-value small {
  margin-left: 6px;
  font-size: 0.42em;
  line-height: 1;
  font-weight: 700;
}

.service-result-value-text span {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  white-space: normal;
}

.service-result-value-partner {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: start;
}

.sagawa-partner-main {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.sagawa-partner-main strong {
  display: block;
  color: var(--ink);
  font-size: clamp(34px, 3.8vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}

.sagawa-logo-link {
  display: inline-flex;
  width: fit-content;
}

.sagawa-logo-link img {
  width: 210px;
  max-width: 100%;
  height: auto;
}

.service-result-value-partner > span {
  display: block;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  white-space: normal;
}

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

.customer-cases-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 600;
}

.customer-cases-head p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1040px);
  margin: 54px auto 0;
}

.case-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(28, 45, 66, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(28, 45, 66, 0.08);
}

.case-visual {
  display: grid;
  min-height: 170px;
  place-items: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(223, 255, 63, 0.28), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(245, 160, 4, 0.16), transparent 30%),
    linear-gradient(135deg, #f7f8fa 0%, #fff8ed 100%);
}

.case-user-icon {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(28, 45, 66, 0.1);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 16px 30px rgba(28, 45, 66, 0.1);
}

.case-user-icon svg {
  width: 38px;
  height: 38px;
  color: var(--yellow);
  stroke-width: 2.4;
}

.case-card-body {
  display: grid;
  align-content: start;
  padding: 24px;
}

.case-card-body b {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.case-card-body b::after {
  display: block;
  width: 100%;
  height: 1px;
  margin: 14px 0 16px;
  background: rgba(28, 45, 66, 0.18);
  content: "";
}

.case-card-body span {
  color: var(--yellow);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
}

.case-card-body h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.case-card-body p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
  font-weight: 500;
}

.comparison {
  background: var(--white);
}

.comparison-showcase {
  display: grid;
  width: min(100%, 960px);
  margin: 0 auto;
  gap: 28px;
  align-items: start;
}

.comparison-copy {
  text-align: center;
}

.comparison-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 600;
  margin-inline: auto;
}

.comparison-copy > p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: end;
}

.section-heading-row p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow-card);
}

.comparison-table table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--ivory);
}

.comparison-table th,
.comparison-table td {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table thead th {
  color: var(--ink);
  background: var(--ivory);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
}

.comparison-table thead th:first-child {
  width: 24%;
  background: var(--yellow-soft);
  text-align: left;
}

.comparison-table thead th:nth-child(2) {
  width: 24%;
  background: var(--white);
}

.comparison-table thead th:nth-child(3),
.comparison-table thead th:nth-child(4) {
  background: var(--paper);
  color: var(--ink-soft);
}

.comparison-logo {
  width: min(100%, 132px);
  height: auto;
  margin: 0 auto;
}

.comparison-table tbody th {
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.comparison-table tbody td {
  color: var(--muted);
  background: rgba(255, 253, 248, 0.82);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
  text-align: center;
}

.comparison-table tbody td:nth-child(2) {
  color: #000000;
  background: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.comparison-table tbody tr:first-child td:nth-child(2) {
  font-size: 20px;
}

.comparison-table tbody td small {
  font-size: 0.76em;
  font-weight: 600;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.proof {
  background:
    linear-gradient(284deg, #f5a004 43%, #df8a03 72.87%, #b86504 102.74%);
}

.proof-title {
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  width: fit-content;
  color: var(--white);
  font-size: clamp(34px, 3.2vw, 42px);
  line-height: 1.22;
  font-weight: 700;
  text-align: center;
  text-shadow:
    0 3px 14px rgba(76, 48, 7, 0.26),
    0 1px 2px rgba(76, 48, 7, 0.38);
}

h2.center.proof-title {
  max-width: min(100%, 1080px);
}

.proof-title-small,
.proof-title-main {
  display: block;
}

.proof-title-small {
  font-size: 0.64em;
  line-height: 1.38;
  font-weight: 700;
  white-space: nowrap;
}

.proof-title-main {
  font-size: 1em;
  line-height: 1.18;
  font-weight: 800;
}

.proof-subtitle {
  max-width: 850px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 600;
  text-align: center;
}

.proof-illustration {
  width: min(100%, 980px);
  margin: 36px auto 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.proof-illustration img {
  display: block;
  width: 100%;
  min-width: 780px;
  height: auto;
}

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

.pricing-layout {
  display: grid;
  gap: 28px;
}

.pricing-copy {
  width: min(100%, 920px);
  margin: 0 auto;
  text-align: center;
}

.pricing-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-copy p {
  max-width: none;
  margin: 16px auto 0;
  color: #2b2842;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-story {
  display: grid;
  width: min(100%, 920px);
  margin: 0 auto;
  gap: 12px;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.pricing-card-grid article,
.pricing-included,
.pricing-excluded,
.pricing-note {
  border-radius: 8px;
}

.pricing-card-grid article {
  min-width: 0;
  min-height: 174px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.pricing-card-grid span,
.pricing-included > span,
.pricing-excluded-head > span {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 600;
}

.pricing-card-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-card-grid p {
  margin: 12px 0 0;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
}

.pricing-main-card {
  display: grid;
  align-content: center;
  border: 2px solid var(--yellow);
  text-align: center;
}

.pricing-main-card-combo {
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 216px;
  padding: 24px;
}

.pricing-main-price {
  display: grid;
  min-width: 0;
  place-items: center;
  text-align: center;
}

.pricing-main-price > span {
  margin-inline: auto;
}

.pricing-main-card strong {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 600;
}

.pricing-main-card strong small {
  margin-left: 6px;
  color: var(--blue-deep);
  font-size: 0.48em;
  line-height: 1;
  font-weight: 600;
  vertical-align: baseline;
}

.pricing-card-grid .pricing-installment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(223, 255, 63, 0.95);
  border-radius: 8px;
  background: rgba(223, 255, 63, 0.12);
  box-shadow: none;
  text-align: left;
}

.pricing-installment-image {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.pricing-installment-copy {
  min-width: 0;
}

.pricing-installment-copy span {
  margin-inline: 0;
}

.pricing-installment-copy strong {
  margin-top: 6px;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 600;
}

.pricing-installment-copy strong small {
  margin-left: 4px;
  color: var(--blue-deep);
  font-size: 0.52em;
  line-height: 1;
  font-weight: 600;
  vertical-align: baseline;
}

.pricing-installment-copy p {
  margin-top: 6px;
  color: var(--blue-deep);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

.pricing-installment-copy em {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--blue-deep);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.pricing-included {
  padding: 18px;
  background: rgba(255, 248, 237, 0.54);
  border: 1px solid var(--line);
}

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

.pricing-included li {
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.pricing-excluded {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.pricing-excluded-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.pricing-excluded-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.pricing-excluded-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 600;
}

.pricing-excluded-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-excluded-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.pricing-note {
  margin: 0;
  padding: 12px 18px;
  background: transparent;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.flow {
  background: var(--ivory);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.flow-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 6px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flow-list span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ivory);
  background: var(--brown-800);
  border-radius: 50%;
  font-weight: 800;
}

.contact-section {
  background: #f5f5f3;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
  padding: 58px;
  border: 1px solid rgba(76, 48, 7, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(76, 48, 7, 0.08);
}

.contact-intro {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}

.contact-intro .section-label {
  width: fit-content;
  margin-bottom: 0;
}

.contact-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 700;
}

.contact-intro > p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-info-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
}

.contact-info-list svg {
  width: 24px;
  height: 24px;
  color: var(--yellow);
  stroke-width: 2.5;
}

.contact-info-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.contact-info-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.contact-form-entry {
  display: grid;
  gap: 22px;
  min-width: 0;
  scroll-margin-top: 110px;
}

.contact-form-entry[hidden],
.contact-confirmation[hidden] {
  display: none;
}

.form-field {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.form-field label,
.contact-source-field legend {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.form-field label span {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid #ff4f83;
  border-radius: 3px;
  color: #ff2f71;
  background: #fff7fa;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  vertical-align: 1px;
}

.form-required {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid #ff4f83;
  border-radius: 3px;
  color: #ff2f71;
  background: #fff7fa;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  vertical-align: 1px;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(76, 48, 7, 0.2);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-field input[type="text"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus {
  border-color: rgba(245, 160, 4, 0.78);
  box-shadow: 0 0 0 4px rgba(245, 160, 4, 0.16);
}

.contact-source-field {
  gap: 14px;
  margin-top: 4px;
}

.contact-source-field legend {
  margin-bottom: 12px;
}

.contact-source-field legend small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.checkbox-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(76, 48, 7, 0.14);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-grid input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--yellow);
}

.meeting-format-field {
  margin-top: 0;
}

.meeting-format-grid label {
  background: var(--white);
}

.contact-confirmation {
  display: grid;
  gap: 18px;
  min-width: 0;
  outline: none;
  scroll-margin-top: 110px;
}

.contact-confirmation-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-confirmation-heading h3,
.contact-confirmation-heading p {
  margin: 0;
}

.contact-confirmation-heading h3 {
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
}

.contact-confirmation-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.contact-confirmation-label {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(245, 160, 4, 0.42);
  border-radius: 4px;
  color: var(--ink-soft);
  background: #fff3d8;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.contact-confirmation-list {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.contact-confirmation-list > div {
  display: grid;
  grid-template-columns: minmax(138px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 11px 16px;
}

.contact-confirmation-list > div + div {
  border-top: 1px solid var(--line);
}

.contact-confirmation-list dt,
.contact-confirmation-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-confirmation-list dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.contact-confirmation-list dd {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.contact-confirmation-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
}

.contact-confirmation-actions button {
  width: 100%;
  border-width: 1px;
  cursor: pointer;
}

.contact-confirmation-actions button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.contact-form-success {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(245, 160, 4, 0.34);
  border-radius: 10px;
  background: #fffaf0;
}

.contact-form-success[hidden] {
  display: none;
}

.contact-form-success h3,
.contact-form-success p {
  margin: 0;
}

.contact-form-success h3 {
  color: var(--ink);
  font-size: 18px;
}

.contact-form-success p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-scheduling-link {
  width: 100%;
  text-align: center;
}

.contact-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  background: var(--white);
  color: var(--blue-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: start;
  padding: 64px 0 72px;
}

.footer-company {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
}

.footer-logo img {
  width: clamp(190px, 18vw, 260px);
  height: auto;
}

.footer-company-info h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.footer-company-info p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  padding-top: 18px;
  color: #8a9aab;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

.footer-nav a {
  white-space: nowrap;
}

.footer-bottom {
  background: #e9edf2;
}

.footer-bottom-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #8a9aab;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  .nav-shell {
    height: 68px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 68px 20px auto;
    display: none;
    max-height: calc(100dvh - 88px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 248, 237, 0.96);
    box-shadow: var(--shadow-soft);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .section-heading-row,
  .savings-layout,
  .comparison-showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    gap: 42px;
    padding: 44px;
  }

  .savings-layout,
  .pricing-layout,
  .comparison-showcase {
    gap: 32px;
  }

  .savings-copy h2,
  .savings-copy > p,
  .pricing-copy h2,
  .pricing-copy p,
  .comparison-copy h2,
  .comparison-copy > p {
    max-width: 680px;
  }

  .savings-copy,
  .pricing-copy {
    width: min(100%, 680px);
  }

  h2 {
    font-size: 34px;
  }

  .savings-copy h2,
  .pricing-copy h2 {
    font-size: 30px;
    white-space: normal;
  }

  .pricing-copy p {
    white-space: normal;
  }

  .pricing-story {
    width: min(100%, 680px);
  }

  .pricing-card-grid,
  .pricing-included ul {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
    min-height: 0;
    padding: 58px 0 46px;
  }

  .hero-copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-consult-button {
    margin-inline: auto;
  }

  .hero-visual {
    justify-content: center;
    align-self: end;
  }

  .hero-visual img {
    position: static;
    width: min(100%, 430px);
    height: auto;
    max-width: 100%;
    margin: 0 auto -18px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .trust-strip {
    min-height: auto;
    padding: 48px 0;
  }

  .trust-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .line-device-stack {
    width: min(100%, 500px);
    min-height: 236px;
    margin: 0 auto;
  }

  .trust-process-image {
    height: min(48vw, 204px);
  }

  .trust-showcase-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .trust-showcase-copy h2 {
    white-space: normal;
  }

  .service-grid,
  .pain-list,
  .savings-grid,
  .case-grid,
  .agent-steps,
  .service-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .solution-transform-list article {
    grid-template-columns: minmax(210px, 0.82fr) 42px minmax(0, 1fr);
  }

  .flow-phase-card {
    min-height: 0;
  }

  .flow-phase-band span,
  .flow-phase-band span:first-child,
  .flow-phase-band span:last-child {
    clip-path: none;
    border-radius: 8px;
  }

  .agent-steps article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .pricing-main-card-combo {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  .pricing-main-price {
    padding: 4px 0;
  }

  .pricing-card-grid .pricing-installment-card {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 180px);
  }

  .savings-tax-breaks {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .savings-tax-breaks article {
    min-height: 0;
  }

  .savings-tax-breaks article:first-child::after,
  .savings-tax-breaks article:nth-child(2)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
  }

  .service-result-row {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 30px 0;
  }

  .proof-title-small {
    white-space: normal;
  }

  .proof-illustration {
    overflow: hidden;
  }

  .proof-illustration img {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .nav-shell {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand-logo {
    width: min(42vw, 150px);
  }

  .brand-mark {
    width: 32px;
    height: 22px;
  }

  .hero-grid {
    gap: 32px;
    padding: 48px 0 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    display: block;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-visual {
    justify-content: center;
    height: auto;
    align-self: end;
    overflow: visible;
  }

  .hero-visual img {
    width: min(100%, 430px);
    max-width: 100%;
    margin: 0 auto -18px;
  }

  .contact-panel {
    width: min(100% - 32px, var(--container));
    padding: 30px 20px;
  }

  .contact-intro {
    gap: 18px;
  }

  .contact-intro h2 {
    font-size: 29px;
  }

  .contact-info-list {
    margin-top: 6px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-consult-button {
    width: fit-content;
    min-width: 0;
    height: 56px;
    margin-top: 40px;
    padding: 14px 54px;
  }

  .hero-consult-button strong {
    font-size: 16px;
  }

  .hero-consult-button span {
    font-size: 11px;
  }

  .trust-strip {
    padding: 44px 0;
  }

  .line-device-stack {
    min-height: 214px;
    padding-left: 0;
  }

  .trust-process-image {
    height: min(50vw, 188px);
  }

  .desktop-mockup {
    width: min(100%, 330px);
  }

  .desktop-mockup::after {
    left: 88px;
  }

  .mockup-body {
    min-height: 140px;
    grid-template-columns: 94px 1fr;
  }

  .line-sidebar {
    padding: 15px 10px;
  }

  .line-chat {
    padding: 11px 12px 14px;
  }

  .phone-mockup {
    left: 0;
    width: 82px;
    height: 158px;
  }

  .trust-showcase-copy h2 {
    font-size: 24px;
  }

  .solution-lines {
    gap: 13px;
  }

  .solution-lines div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .solution-lines dt {
    width: fit-content;
    min-width: 92px;
    padding: 0 14px;
  }

  .solution-lines dd {
    font-size: 14px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .pain-list {
    grid-template-columns: 1fr;
  }

  .pain-list article {
    min-height: 0;
  }

  .problem-solution .two-column > div:first-child {
    padding: 76px 16px;
  }

  .problem-solution .two-column > div:first-child::after {
    bottom: -32px;
    border-top-width: 32px;
    border-right-width: 48px;
    border-left-width: 48px;
  }

  .problem-solution .two-column > div:first-child::before {
    bottom: -34px;
    border-top-width: 34px;
    border-right-width: 50px;
    border-left-width: 50px;
  }

  .solution-transform-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .solution-arrow {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .service-grid,
  .savings-grid,
  .case-grid,
  .agent-steps,
  .flow-list,
  .flow-phase-band,
  .flow-phase-grid {
    grid-template-columns: 1fr;
  }

  .savings-result {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
  }

  .savings-base,
  .savings-tax-breaks {
    grid-template-columns: 1fr;
  }

  .savings-base {
    gap: 12px;
    padding: 20px;
    text-align: center;
  }

  .savings-base span {
    margin: 0 auto;
  }

  .savings-base strong,
  .savings-tax-breaks strong {
    font-size: clamp(34px, 13vw, 48px);
  }

  .savings-total-card strong {
    font-size: clamp(30px, 10vw, 40px);
  }

  .savings-tax-breaks {
    gap: 34px;
  }

  .savings-tax-breaks article {
    min-height: 0;
    padding: 20px;
  }

  .savings-tax-breaks article:first-child::after,
  .savings-tax-breaks article:nth-child(2)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
  }

  .savings-note {
    text-align: left;
  }

  .case-grid article {
    min-height: 0;
  }

  .service-results {
    margin-bottom: 58px;
  }

  .service-result-row {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 28px 0;
  }

  .service-result-label h3 {
    font-size: 23px;
  }

  .service-result-value span {
    font-size: clamp(42px, 16vw, 64px);
  }

  .sagawa-partner-main {
    gap: 14px;
  }

  .sagawa-partner-main strong {
    font-size: 30px;
  }

  .sagawa-logo-link img {
    width: 160px;
  }

  .service-result-value-partner > span {
    font-size: 24px;
    white-space: normal;
  }

  .service-result-value-text span {
    font-size: 25px;
  }

  .case-visual {
    min-height: 150px;
  }

  .case-card-body {
    padding: 22px;
  }

  .comparison-table {
    margin-inline: -16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table table {
    min-width: 820px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 18px 16px;
  }

  .comparison-table thead th {
    font-size: 14px;
  }

  .comparison-table tbody th,
  .comparison-table tbody td {
    font-size: 14px;
  }

  .comparison-table tbody td:nth-child(2) {
    font-size: 16px;
  }

  .flow-phase-card {
    min-height: auto;
    padding: 18px;
  }

  .flow-phase-image,
  .flow-phase-card-featured .flow-phase-image {
    height: auto;
  }

  h2 {
    font-size: 32px;
  }

  .proof-title {
    width: auto;
    white-space: normal;
  }

  .solution-section-head h3 {
    font-size: 25px;
  }

  .solution-card,
  .pricing-card-grid article,
  .pricing-included,
  .pricing-excluded {
    padding: 26px;
  }

  .pricing-excluded-head {
    grid-template-columns: 1fr;
  }

  .pricing-main-card-combo {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .pricing-card-grid .pricing-installment-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-installment-copy span,
  .pricing-installment-copy em {
    margin-inline: auto;
  }

  .pricing-installment-image {
    width: min(100%, 260px);
    height: 118px;
    margin: 0 auto;
  }

  .flow-list article {
    grid-template-columns: 1fr;
  }

  .flow-list span {
    grid-row: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 0 48px;
  }

  .footer-company {
    gap: 22px;
  }

  .footer-logo img {
    width: min(54vw, 210px);
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 13px 20px;
    padding-top: 0;
    font-size: 14px;
  }

  .footer-bottom-inner {
    min-height: 0;
    align-items: center;
    flex-direction: column;
    padding: 18px 0;
    text-align: center;
  }
}

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

  .hero-grid {
    gap: 26px;
    padding: 40px 0 0;
  }

  .hero-consult-button {
    width: 100%;
    max-width: 340px;
    padding: 14px 48px 14px 22px;
  }

  .hero-consult-button span {
    max-width: calc(100% - 36px);
    text-align: center;
    white-space: normal;
  }

  .trust-showcase-copy h2 {
    font-size: 22px;
  }

  .solution-card,
  .pricing-card-grid article,
  .pricing-included,
  .pricing-excluded {
    padding: 22px 18px;
  }

  .solution-before strong,
  .solution-after strong {
    font-size: 16px;
  }

  .service-card {
    padding: 20px;
  }

  .pricing-excluded-tags span {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .checkbox-grid label {
    min-height: 0;
  }

  .footer-nav a {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .hero-consult-button {
    padding-right: 42px;
    padding-left: 18px;
  }

  .hero-consult-button strong {
    font-size: 15px;
  }
}

/* Mobile UX density pass */
@media (max-width: 680px) {
  body {
    line-height: 1.62;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .nav-shell {
    height: 64px;
  }

  .brand-logo {
    width: min(39vw, 142px);
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    inset: 64px 16px auto;
    max-height: calc(100dvh - 80px);
  }

  .container,
  .nav-shell {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 48px 0;
  }

  h2,
  .savings-copy h2,
  .pricing-copy h2,
  .comparison-copy h2,
  .service-results h2,
  .customer-cases-head h2,
  .contact-intro h2 {
    font-size: 24px;
    line-height: 1.38;
    letter-spacing: 0;
  }

  .section-label {
    min-height: 26px;
    margin-bottom: 12px;
    font-size: 11px;
  }

  .hero-grid {
    gap: 32px;
    min-height: 0;
    padding: 48px 0 0;
  }

  .hero-copy {
    display: block;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy-art img {
    display: block;
  }

  .hero-visual {
    justify-content: center;
    height: auto;
    align-self: end;
    max-height: none;
    overflow: visible;
  }

  .hero-visual img {
    width: min(100%, 430px);
    max-width: 100%;
    margin: 0 auto -18px;
  }

  .trust-strip {
    padding: 30px 0 34px;
  }

  .trust-showcase {
    gap: 18px;
  }

  .line-device-stack {
    min-height: 0;
  }

  .trust-process-image {
    height: min(38vw, 148px);
  }

  .trust-showcase-copy {
    max-width: 360px;
    text-align: left;
  }

  .trust-showcase-copy h2 {
    margin-bottom: 16px;
    color: var(--brown-800);
    font-size: 21px;
    line-height: 1.34;
    text-align: center;
  }

  .solution-lines {
    gap: 10px;
  }

  .solution-lines div {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  .solution-lines dt {
    width: 96px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 12px;
  }

  .solution-lines dt::after {
    content: none;
  }

  .solution-lines dd {
    min-width: 0;
    font-size: 13px;
    line-height: 1.48;
    text-align: left;
  }

  .problem-solution .two-column {
    gap: 36px;
  }

  .problem-solution .two-column > div:first-child {
    padding: 44px 16px 52px;
  }

  .problem-solution .two-column > div:first-child h2 {
    max-width: 340px;
    margin-inline: auto;
    font-size: 25px;
    line-height: 1.36;
  }

  .problem-solution .two-column > div:first-child::after {
    bottom: -24px;
    border-top-width: 24px;
    border-right-width: 38px;
    border-left-width: 38px;
  }

  .problem-solution .two-column > div:first-child::before {
    bottom: -26px;
    border-top-width: 26px;
    border-right-width: 40px;
    border-left-width: 40px;
  }

  .pain-list {
    gap: 10px;
    margin-top: 24px;
  }

  .pain-list article {
    grid-template-columns: 74px 1fr;
    gap: 8px 12px;
    align-items: center;
    padding: 14px;
    text-align: left;
  }

  .pain-list img {
    grid-row: span 2;
    width: 74px;
    height: 74px;
  }

  .pain-list h3 {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.42;
    text-align: left;
  }

  .pain-list ul {
    gap: 3px;
    width: 100%;
    margin: 0;
  }

  .pain-list li {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .solution-card {
    padding: 42px 0 40px;
  }

  .solution-title-image {
    width: min(100%, 286px);
  }

  .solution-intro p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.72;
    text-align: left;
  }

  .solution-transform-list {
    gap: 10px;
    margin-top: 22px;
  }

  .solution-transform-list article {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    padding: 12px;
  }

  .solution-before,
  .solution-after {
    padding: 9px 10px;
  }

  .solution-before span,
  .solution-after span {
    font-size: 10px;
  }

  .solution-before strong,
  .solution-after strong {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .solution-arrow {
    width: 28px;
    height: 28px;
    align-self: center;
    font-size: 16px;
    transform: none;
  }

  .service-detail-block,
  .service-flow-block {
    margin-top: 44px;
  }

  .service-flow-block {
    padding-top: 28px;
  }

  .solution-section-head {
    gap: 8px;
    text-align: left;
  }

  .solution-section-head h3 {
    font-size: 22px;
    line-height: 1.38;
    text-align: center;
  }

  .solution-section-head p {
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
  }

  .solution-service-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .solution-service-grid .service-card {
    grid-template-columns: 62px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .service-card-image {
    width: 62px;
    aspect-ratio: 1;
    align-self: center;
    padding: 0;
  }

  .service-card-body {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-card-body svg {
    display: none;
  }

  .solution-service-grid .service-card h3 {
    font-size: 15px;
    line-height: 1.38;
  }

  .solution-service-grid .service-card p {
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.58;
  }

  .flow-phase-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
  }

  .flow-phase-band span {
    min-height: 34px;
    padding: 0 4px;
    border-radius: 7px;
    font-size: 11.5px;
    line-height: 1.2;
  }

  .flow-phase-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .flow-phase-card {
    grid-template-columns: 92px 1fr;
    grid-template-areas:
      "meta meta"
      "image title"
      "image text"
      "points points"
      "owner owner";
    gap: 8px 12px;
    padding: 14px;
  }

  .flow-phase-meta {
    grid-area: meta;
    gap: 7px;
  }

  .flow-step-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .flow-phase-label {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }

  .flow-phase-image {
    grid-area: image;
    width: 92px;
    height: 84px;
    margin: 0;
    object-fit: cover;
  }

  .flow-phase-card h3 {
    grid-area: title;
    align-self: end;
    font-size: 17px;
    line-height: 1.34;
  }

  .flow-phase-card p {
    grid-area: text;
    font-size: 12.5px;
    line-height: 1.58;
  }

  .flow-phase-points {
    grid-area: points;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
    margin-top: 2px;
  }

  .flow-phase-points li {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .flow-phase-owner {
    grid-area: owner;
    margin-top: 0;
    padding: 5px 9px;
    font-size: 11px;
  }

  .solution-cta {
    margin-top: 26px;
  }

  .pricing-layout,
  .savings-layout,
  .comparison-showcase {
    gap: 18px;
  }

  .pricing-copy p,
  .savings-copy > p,
  .comparison-copy > p,
  .customer-cases-head p,
  .proof-subtitle,
  .contact-intro > p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
  }

  .pricing-story,
  .savings-story {
    gap: 10px;
  }

  .pricing-card-grid article,
  .pricing-included,
  .pricing-excluded {
    padding: 14px;
  }

  .pricing-main-card-combo {
    gap: 12px;
  }

  .pricing-main-card strong {
    font-size: clamp(34px, 10vw, 42px);
  }

  .pricing-card-grid .pricing-installment-card {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
    padding: 12px;
    text-align: left;
  }

  .pricing-installment-copy span,
  .pricing-installment-copy em {
    margin-inline: 0;
  }

  .pricing-installment-copy strong {
    font-size: 28px;
  }

  .pricing-installment-image {
    width: 82px;
    height: 72px;
  }

  .pricing-included ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pricing-included li {
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
  }

  .pricing-excluded-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pricing-excluded-head h3 {
    font-size: 17px;
  }

  .pricing-excluded-tags {
    gap: 6px;
  }

  .pricing-excluded-tags span {
    width: auto;
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 11px;
  }

  .pricing-note {
    padding: 8px 0 0;
    font-size: 12px;
    text-align: left;
  }

  .savings-tax-breaks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .savings-tax-breaks article {
    padding: 14px;
  }

  .savings-tax-breaks article:first-child::after,
  .savings-tax-breaks article:nth-child(2)::after {
    display: none;
  }

  .savings-tax-breaks strong,
  .savings-total-card strong {
    margin-top: 8px;
    font-size: clamp(25px, 8vw, 32px);
  }

  .savings-tax-breaks p,
  .savings-total-card p {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .savings-total-card {
    grid-column: 1 / -1;
  }

  .savings-result {
    margin-top: 0;
    padding: 12px 14px;
    text-align: left;
  }

  .savings-result span {
    font-size: 15px;
    line-height: 1.5;
  }

  .savings-result strong {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .savings-note {
    padding: 4px 0 0;
    font-size: 12px;
    line-height: 1.6;
  }

  .service-results {
    margin-bottom: 42px;
  }

  .service-results-list {
    margin-top: 18px;
  }

  .service-result-row {
    gap: 8px;
    padding: 18px 0;
  }

  .service-result-label h3 {
    font-size: 18px;
  }

  .service-result-label p {
    margin-top: 5px;
    font-size: 12.5px;
  }

  .service-result-value span {
    font-size: clamp(36px, 12vw, 48px);
  }

  .sagawa-partner-main strong {
    font-size: 24px;
  }

  .sagawa-logo-link img {
    width: 132px;
  }

  .service-result-value-partner > span {
    font-size: 17px;
  }

  .case-grid {
    gap: 10px;
    margin-top: 22px;
  }

  .case-grid article {
    display: block;
  }

  .case-visual {
    display: none;
  }

  .case-card-body {
    padding: 16px;
  }

  .case-card-body b {
    font-size: 11.5px;
  }

  .case-card-body b::after {
    margin: 9px 0 10px;
  }

  .case-card-body span {
    font-size: 28px;
  }

  .case-card-body h3 {
    margin-top: 8px;
    font-size: 16px;
  }

  .case-card-body p {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.62;
  }

  .comparison-table {
    margin-inline: -8px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 8px;
  }

  .comparison-table table {
    min-width: 780px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }

  .comparison-table thead th,
  .comparison-table tbody th,
  .comparison-table tbody td {
    font-size: 12px;
    line-height: 1.5;
  }

  .comparison-table tbody td:nth-child(2) {
    font-size: 13px;
  }

  .comparison-table tbody tr:first-child td:nth-child(2) {
    font-size: 15px;
  }

  .comparison-logo {
    width: 92px;
  }

  .proof {
    padding: 48px 0;
  }

  .proof-title {
    gap: 6px;
    font-size: 24px;
  }

  .proof-title-small {
    font-size: 0.62em;
  }

  .proof-subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
  }

  .proof-illustration {
    margin-top: 20px;
  }

  .contact-panel {
    width: min(100% - 32px, var(--container));
    gap: 20px;
    padding: 20px 16px;
  }

  .contact-intro {
    gap: 12px;
  }

  .contact-info-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 0;
  }

  .contact-info-list article {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }

  .contact-info-list svg {
    width: 20px;
    height: 20px;
  }

  .contact-info-list h3 {
    font-size: 13px;
  }

  .contact-info-list p {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .contact-form {
    gap: 14px;
  }

  .contact-form-entry {
    gap: 14px;
  }

  .form-field {
    gap: 6px;
  }

  .form-field label,
  .contact-source-field legend {
    font-size: 13px;
  }

  .form-field input[type="text"],
  .form-field input[type="tel"],
  .form-field input[type="email"],
  .form-field select {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .checkbox-grid {
    gap: 7px;
  }

  .checkbox-grid label {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .contact-confirmation {
    gap: 18px;
  }

  .contact-confirmation-heading {
    gap: 6px;
    padding-bottom: 14px;
  }

  .contact-confirmation-heading h3 {
    font-size: 22px;
  }

  .contact-confirmation-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 14px;
  }

  .contact-confirmation-actions {
    grid-template-columns: 1fr;
  }

  .contact-confirmation-actions .contact-final-submit {
    order: -1;
  }

  .footer-main {
    gap: 20px;
    padding: 34px 0 38px;
  }
}

@media (max-width: 390px) {
  .solution-lines div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 7px;
  }

  .solution-lines dt {
    width: 92px;
    padding: 0 7px;
    font-size: 11.5px;
  }

  .solution-lines dd {
    font-size: 12.5px;
  }

  .flow-phase-points {
    grid-template-columns: 1fr;
  }

  .savings-tax-breaks strong,
  .savings-total-card strong {
    font-size: 27px;
  }
}
