:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f7f4fb;
  --soft-2: #eef8f6;
  --text: #211631;
  --muted: #665d72;
  --line: #e8e0f0;
  --primary: #4b168f;
  --primary-deep: #2f075f;
  --primary-soft: #f0e7fb;
  --teal: #247f78;
  --amber: #9a6619;
  --shadow: 0 18px 46px rgba(47, 7, 95, 0.09);
  --content-max: 1240px;
  --content-gutter: 32px;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--primary-deep);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-deep);
  overflow: hidden;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  color: var(--muted);
  font-size: 15px;
  overflow-x: auto;
  white-space: nowrap;
}

.site-nav a {
  border-radius: 8px;
  padding: 9px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-deep);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(33, 22, 49, 0.24);
  cursor: pointer;
}

.mobile-menu__panel {
  position: relative;
  width: min(330px, calc(100% - 24px));
  margin: 12px 12px 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(33, 22, 49, 0.2);
  padding: 16px;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.mobile-menu__close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 10px;
  white-space: nowrap;
}

.mobile-menu__nav {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.mobile-menu__nav a {
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
  padding: 13px 2px;
  text-decoration: none;
}

.menu-open {
  overflow: hidden;
}

.site-footer {
  width: 100%;
  margin-top: 0;
  background: var(--primary-deep);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  gap: 34px 56px;
  padding: 56px 0 34px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer__brand {
  display: grid;
  max-width: 620px;
  gap: 16px;
}

.site-footer__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__nav,
.site-footer__bottom,
.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.site-footer__nav {
  justify-content: flex-end;
}

.site-footer__nav a,
.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__nav a:hover,
.site-footer__bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__bottom {
  grid-column: 1 / -1;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
}

.site-footer__bottom small {
  color: rgba(255, 255, 255, 0.62);
}

.section {
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 92px 0;
}

.section--soft {
  width: 100%;
  padding-right: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  padding-left: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 78px;
}

.hero h1,
.page-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--text);
  font-size: 60px;
  line-height: 1.13;
}

.hero h1 {
  font-size: clamp(46px, 3.7vw, 54px);
  text-wrap: balance;
  word-break: auto-phrase;
}

.nowrap-phrase {
  white-space: nowrap;
}

.hero__lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #40364d;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.9;
}

.hero__note {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
}

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

.hero-media,
.visual-flow__media,
.sample-card figure,
.process-figure {
  margin: 0;
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img,
.visual-flow img,
.sample-card img,
.process-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  padding: 14px 26px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--primary-deep);
  background: var(--primary-deep);
  box-shadow: 0 12px 24px rgba(47, 7, 95, 0.16);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button--secondary {
  background: #fff;
  color: var(--primary-deep);
}

.button--secondary:hover {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.workflow-panel,
.issue-card,
.comparison-card,
.visual-flow,
.sample-card,
.process-note,
.step-card,
.example-card,
.case-card,
.project-card,
.price-card,
.info-panel,
.info-table,
.form,
.policy-summary,
.policy-body,
.cta-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding-right: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  padding-left: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  background: var(--primary-deep);
  color: #fff;
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta h2 {
  margin: 0;
  max-width: 720px;
}

.final-cta p {
  margin: 12px 0 0;
  max-width: 720px;
  opacity: 0.88;
}

.workflow-panel {
  padding: 32px;
}

.workflow-panel__label {
  margin: 0 0 18px;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.flow-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.flow-step span {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 900;
}

.flow-step strong {
  color: var(--text);
  font-size: 18px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.policy-section .section-heading {
  max-width: 1040px;
}

.section-heading h2,
.self-case h2,
.contact-layout h2,
.cta-band h2 {
  margin: 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1.26;
}

.section-heading p:not(.eyebrow),
.contact-layout p,
.cta-band p,
.self-case p,
.info-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.issue-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.issue-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 30px;
}

.issue-card span {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-2);
  color: var(--teal);
  font-weight: 900;
}

.issue-card span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--primary);
}

.issue-card p {
  margin: 0;
  color: #3c314b;
  font-weight: 700;
}

.comparison-grid,
.case-grid,
.project-grid,
.price-grid,
.example-grid,
.step-grid,
.sample-grid,
.process-note-grid {
  display: grid;
  gap: 24px;
}

.comparison-grid,
.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.case-grid,
.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: span 2;
}

.project-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.project-card:nth-child(5):last-child {
  grid-column: 4 / span 2;
}

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

.process-note-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}

.comparison-card,
.case-card,
.project-card,
.price-card,
.example-card,
.sample-card,
.process-note {
  padding: 30px;
}

.comparison-card h3,
.comparison-card h2,
.case-card h3,
.case-card h2,
.project-card h3,
.project-card h2,
.price-card h3,
.price-card h2,
.example-card h3,
.example-card h2,
.sample-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.42;
}

.visual-flow-list {
  display: grid;
  gap: 26px;
}

.visual-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
}

.visual-flow--reverse {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.visual-flow--reverse .visual-flow__media {
  order: 2;
}

.visual-flow__media {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.visual-flow__body span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 9px;
}

.visual-flow__body h3 {
  margin: 16px 0 0;
  font-size: 31px;
  line-height: 1.34;
}

.visual-flow__body p {
  margin: 14px 0 0;
  color: var(--muted);
}

.sample-card figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.sample-card figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: rgba(47, 7, 95, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}

.sample-card h3 {
  margin-top: 22px;
}

.sample-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.process-figure {
  width: 100%;
  max-width: var(--content-max);
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.process-section {
  padding-top: 100px;
  padding-bottom: 104px;
}

.process-section .section-heading {
  max-width: 940px;
  margin-bottom: 34px;
}

.process-figure img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.process-step-list {
  display: none;
}

.process-step-card {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}

.process-step-card img {
  display: block;
  width: 100%;
  height: auto;
}

.process-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  box-shadow: none;
}

.process-note span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.process-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.operator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.info-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.38;
}

.comparison-card__columns {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.comparison-card__columns div {
  border-radius: 8px;
  padding: 14px;
  background: #faf8fd;
}

.comparison-card__columns div:last-child {
  background: #edf8f6;
}

.comparison-card__columns span,
.case-card > span,
.price-card > p,
.project-card__top span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 9px;
}

.comparison-card ul,
.price-card ul,
.exclusion-list {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.step-card {
  padding: 18px;
  min-height: 130px;
}

.step-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.step-card h3,
.step-card h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
}

.example-card p,
.project-card p,
.project-card small,
.price-card span,
.case-card dd {
  color: var(--muted);
}

.example-card p {
  margin: 12px 0 0;
}

.method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.method-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #42374e;
  font-size: 14px;
  font-weight: 800;
  padding: 7px 11px;
}

.self-case {
  width: 100%;
  padding-right: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  padding-left: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  background: var(--primary-deep);
  color: #fff;
}

.self-case div {
  max-width: 920px;
}

.self-case .eyebrow,
.self-case h2,
.self-case p,
.self-case strong {
  color: #fff;
}

.self-case strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.case-card dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.case-card dt {
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 900;
}

.case-card dd {
  margin: 4px 0 0;
}

.project-card__top {
  display: grid;
  gap: 10px;
  width: 100%;
  justify-items: start;
}

.project-card__top h2 {
  min-width: 0;
}

.project-card__top span {
  white-space: nowrap;
}

.project-card p {
  margin: 18px 0 0;
}

.project-card p + p {
  margin-top: 12px;
}

.project-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.project-card small {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}

.price-card h3,
.price-card h2 {
  margin-top: 10px;
  color: var(--primary-deep);
  font-size: 28px;
}

.price-card span {
  display: block;
  margin-top: 8px;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  padding: 18px 20px;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-section {
  width: 100%;
  padding-right: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  padding-left: max(var(--content-gutter), calc((100% - var(--content-max)) / 2));
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.form {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8cde5;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 127, 120, 0.28);
  outline-offset: 2px;
}

.form .button {
  margin-top: 18px;
  width: 100%;
}

.form-note,
.form-message {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-message {
  color: var(--primary-deep);
  font-weight: 800;
}

.page-hero {
  padding-top: 96px;
  padding-bottom: 50px;
}

.page-hero h1 {
  font-size: 56px;
}

.page-hero p:not(.eyebrow) {
  max-width: 840px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.about-hero {
  padding-bottom: 0;
}

.about-content {
  display: grid;
  gap: 30px;
  padding-top: 56px;
  padding-bottom: 0;
}

.about-policy,
.about-operator {
  width: 100%;
}

.about-operator .section-heading {
  margin-bottom: 22px;
}

.about-page .cta-band {
  margin-top: 72px;
  margin-bottom: 0;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.info-panel,
.info-table,
.policy-summary,
.policy-body {
  padding: 24px;
}

.info-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.38;
}

.info-table {
  display: grid;
  gap: 0;
}

.info-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.info-table div:first-child {
  border-top: 0;
}

.info-table dt {
  color: var(--primary-deep);
  font-weight: 900;
}

.info-table dd {
  margin: 0;
  color: var(--muted);
}

.info-table a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.info-table a:hover {
  color: var(--primary-deep);
  text-decoration: underline;
}

.policy-summary {
  max-width: 900px;
}

.policy-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}

.policy-summary p + p {
  margin-top: 12px;
}

.policy-body {
  max-width: 900px;
}

.policy-body h2 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 34px;
  padding: 38px 42px;
}

.cta-band h2 {
  max-width: 860px;
  font-size: 40px;
}

.cta-band h2 span {
  display: inline-block;
}

.cta-band .button {
  min-width: 320px;
  min-height: 58px;
  padding-right: 32px;
  padding-left: 32px;
  white-space: nowrap;
}

.exclusion-list {
  columns: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px 22px 22px 42px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: 40px;
}

.not-found p {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 20px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .hero,
  .contact-layout,
  .info-layout,
  .operator-layout,
  .visual-flow,
  .visual-flow--reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 28px;
  }

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

  .issue-grid,
  .issue-grid--compact,
  .comparison-grid,
  .example-grid,
  .case-grid,
  .project-grid,
  .price-grid,
  .price-grid--four,
  .process-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-flow--reverse .visual-flow__media {
    order: 0;
  }

  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section,
  .section--soft,
  .self-case,
  .contact-section,
  .final-cta {
    width: 100%;
    padding: 54px 18px;
  }

  .about-hero {
    padding-bottom: 0;
  }

  .about-content {
    padding-top: 56px;
    padding-bottom: 0;
  }

  .about-page .cta-band {
    margin-top: 72px;
  }

  .site-footer__inner {
    width: calc(100% - 36px);
    gap: 24px;
    padding: 34px 0 26px;
  }

  .site-footer__nav,
  .site-footer__bottom,
  .site-footer__bottom nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 4px;
    overflow-x: visible;
    padding-bottom: 2px;
    white-space: normal;
  }

  .site-nav a {
    padding: 6px 8px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: 16px;
  }

  .section-heading h2,
  .self-case h2,
  .contact-layout h2,
  .cta-band h2 {
    font-size: 27px;
  }

  .section-heading p:not(.eyebrow),
  .contact-layout p,
  .cta-band p,
  .self-case p,
  .info-panel p {
    font-size: 16px;
  }

  .issue-grid,
  .issue-grid--compact,
  .comparison-grid,
  .example-grid,
  .case-grid,
  .project-grid,
  .price-grid,
  .price-grid--four,
  .step-grid,
  .form-grid,
  .sample-grid,
  .process-note-grid {
    grid-template-columns: 1fr;
  }

  .workflow-panel,
  .issue-card,
  .visual-flow,
  .comparison-card,
  .case-card,
  .project-card,
  .price-card,
  .example-card,
  .sample-card,
  .form,
  .info-panel,
  .info-table,
  .policy-summary,
  .policy-body {
    padding: 18px;
  }

  .project-card__top,
  .cta-band,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .cta-band .button {
    min-width: 0;
    width: 100%;
  }

  .visual-flow__body h3 {
    font-size: 23px;
  }

  .hero-media img,
  .visual-flow img,
  .sample-card img,
  .process-figure img {
    object-fit: contain;
    background: #fff;
  }

  .info-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .exclusion-list {
    columns: 1;
  }

  .button {
    width: 100%;
  }

  .hero__actions .button {
    padding-right: 18px;
    padding-left: 18px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  :root {
    --content-gutter: 24px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    display: block;
    padding: 12px 18px;
  }

  .site-header__bar {
    width: 100%;
    justify-content: space-between;
  }

  .brand span:not(.brand__mark) {
    white-space: nowrap;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .mobile-menu__panel {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .process-figure--desktop {
    display: none;
  }

  .process-step-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    justify-items: center;
    margin-top: 24px;
  }

  .process-step-card {
    width: 100%;
    max-width: 360px;
  }

  .process-step-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card:nth-child(4):nth-last-child(2),
  .project-card:nth-child(5):last-child {
    grid-column: auto;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 640px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .process-step-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-step-card {
    width: min(100%, 360px);
  }

  .process-step-card:not(:last-child)::after {
    content: "↓";
    display: block;
    margin: 12px auto 0;
    color: var(--primary);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
  }
}
