:root {
  color-scheme: light;
  --navy: #102c50;
  --muted: #52677b;
  --green: #087e43;
  --green-hover: #066535;
  --green-light: #e9f5ed;
  --blue: #d8e3fb;
  --pale: #f3f7fc;
  --line: #dce5ef;
  --white: #fff;
  --orange: #f2a130;
  --orange-ink: #92500e;
  --dot-spacing: 24px;
  --dot-ink: rgba(16, 44, 80, .3);
  --header-height: 84px;
  color: var(--navy);
  background: var(--white);

  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul, ol, dl { margin: 0; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1763cb; outline-offset: 5px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.section-heading { margin-bottom: 48px; }
.section-heading > h2 { width: 100%; text-align: center; }
.heading-phrase { display: inline-block; max-width: 100%; }
.section-heading > p { width: min(100%, var(--heading-description-width)); margin: 24px auto 0; color: var(--muted); text-align: center; }
.section-heading > p + p { margin-top: 18px; }
.centered { text-align: center; }
.section-note, .small-note { color: var(--muted); }
.section-note { margin-top: 26px; }
.section-note:not(.left-note) { text-align: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 68px; padding: 16px 22px 16px 30px; border: 1px solid transparent; border-radius: 50px; background: var(--green); color: var(--white); text-align: center; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--green-hover); transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-small { min-height: 46px; padding: 10px 18px; gap: 14px; }
.button-small .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; gap: 18px; align-items: center; padding-block: 10px; color: var(--green); border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--green-hover); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 16px; padding: 10px 16px; background: var(--navy); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.mobile-only { display: none; }
.case-heading-mobile { display: none; }
.mobile-bottom-cta { display: none; }

.site-header { height: var(--header-height); position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.98); border-bottom: 1px solid #e8edf4; }
.header-inner { height: 100%; width: min(1330px, calc(100% - 64px)); margin-inline: auto; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; }
.brand-icon { width: 56px; height: 56px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 5px; transform: translateY(4px); }
.brand-wordmark { display: block; width: 150px; height: 25px; }
.brand-desc { font-size: 14px; font-weight: 500; letter-spacing: .42px; line-height: 1.3; color: #455872; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav > a:not(.button) { padding-block: 12px; }
.site-nav > a:not(.button):hover { color: var(--green); }
.menu-toggle { display: none; }

/* A friendly, made-to-order service: open diagrams, alternating stories, and a distinct quote sheet. */
.button-small { min-height: 48px; padding: 9px 22px; }
.section-label { display: block; color: var(--green); margin-bottom: 20px; }
.section-kicker { display: inline-block; color: var(--navy); margin-bottom: 22px; position: relative; }
.section-kicker::before, .section-kicker::after { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--orange); vertical-align: middle; margin-inline: 18px; }
.ink-green { color: var(--green); }
.hero { position: relative; isolation: isolate; background: var(--blue); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding-block: 65px 45px; }
.hero-copy { position: relative; z-index: 2; }
.hero-audience { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 0 2px; margin-bottom: 30px; color: var(--navy); }
.hero-audience span { min-width: 0; }
.eyebrow-break { display: none; }
.hero-audience::before, .hero-audience::after { content: ''; flex: 0 0 22px; width: 22px; height: 0; border-top: 2px solid currentColor; transform-origin: center; }
.hero-audience::before { transform: rotate(55deg); }
.hero-audience::after { transform: rotate(-55deg); }

h1 > span { display: block; width: fit-content; }
h1 .hero-context { margin-bottom: 0; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.1vw, 18px); }
.highlight { color: var(--green); }
.highlight em { font-style: normal; position: relative; z-index: 0; }
.highlight em::after { content: ''; position: absolute; height: 12px; background: var(--orange); bottom: 3px; left: 1px; right: 1px; z-index: -1; }
.hero-lead { margin-top: 25px; color: #264361; }
.hero-button { margin-top: 30px; box-shadow: 0 5px 0 #065b32; }
.cta-note { margin-top: 17px; color: #405b72; }
.hero-figure { position: relative; margin: 0; }
.hero-figure > img { width: 100%; mask-image: linear-gradient(to right, transparent, #000 5%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 91%, transparent); mask-composite: intersect; }
@media (min-width: 1200px) {
  .hero-audience { max-width: none; white-space: nowrap; }
}
@media (max-width: 1199px) {
  .eyebrow-break { display: initial; }
}
.problems { padding-block: 95px 105px; }

.problem-list { display: flex; flex-direction: column; gap: 42px; max-width: 900px; margin: 0 auto 62px; padding: 0; list-style: none; counter-reset: problem; }
.problem-list li { display: grid; grid-template-columns: 46px minmax(0,1fr); column-gap: 20px; align-items: start; padding-block: 6px; counter-increment: problem; }
.problem-list li::before { content: counter(problem, decimal-leading-zero); display: grid; grid-row: 1 / span 2; width: 44px; height: 44px; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); }
.problem-list h3, .problem-list p { grid-column: 2; }
.problem-list h3 { color: var(--green); margin-bottom: 8px; }
.problem-list p { color: var(--muted); text-align: left; }
.team-section { position: relative; background: #edf3fc; padding-block: 110px 112px; border-radius: 50% 50% 0 0 / 45px 45px 0 0; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 55px; }
.team-role { position: relative; padding: 0; }
.team-role img { width: 100%; aspect-ratio: 1.6; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 20px; }
.role-heading { display: flex; align-items: center; gap: 15px; padding-bottom: 14px; border-bottom: 2px solid #bdcfe5; }
.role-heading span { color: var(--green); }

.team-role p { color: var(--muted); margin-top: 16px; }
.team-design-note { margin-top: 42px; padding: 24px 20px; background: #e2f1e8; color: var(--navy); text-align: center; }
.team-design-note strong { color: var(--green); }
.custom-section { padding-block: 116px 125px; background: var(--white); }
.related-service { margin-bottom: 88px; }
.related-service-panel { padding: 44px 48px; border: 2px solid #709987; border-radius: 8px; background: var(--pale); }
.related-service .section-heading { margin-bottom: 32px; }
.related-service .section-heading > h2 { color: var(--green); }
.related-service .section-heading > p { margin-top: 20px; }
.related-service-grid { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 40px; align-items: start; max-width: 900px; margin-inline: auto; }
.related-service-brand { text-align: center; padding-top: 5px; }
.related-service-label { margin-bottom: 16px; color: var(--muted); }
.related-service-logo { display: flex; gap: 12px; align-items: center; justify-content: center; }
.related-service-logo img:first-child { width: 56px; height: 56px; object-fit: contain; }
.related-service-logo img:last-child { width: 180px; height: 30px; }
.related-service-caption { margin-top: 12px; }
.related-service-copy { text-align: left; }
.related-service-copy p + p { margin-top: 14px; }
.related-service-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 24px; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 4px; background: var(--white); color: var(--navy); text-align: center; }
.related-service-link:hover { background: var(--navy); color: var(--white); }
.related-service-faq-link { display: block; width: fit-content; margin: 16px auto 0; padding-block: 8px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .related-service { margin-bottom: 60px; }
  .related-service-panel { padding: 30px 20px; }
  .related-service-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .related-service .section-heading { margin-bottom: 26px; }
  .related-service-link { width: 100%; padding-inline: 12px; }
  .related-service-logo { gap: 10px; }
  .related-service-logo img:first-child { width: 46px; height: 46px; }
  .related-service-logo img:last-child { width: 162px; height: 27px; }
}
.custom-intro { margin-bottom: 70px; }
.custom-intro .section-heading { width: 100%; margin: 0; }
.custom-points { display: grid; gap: 80px; }
.custom-points article { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 80px; }
.custom-points article:nth-child(2) { grid-template-columns: 1.1fr 1fr; }
.custom-points article:nth-child(2) .point-copy { order: 2; }
.point-copy { position: relative; padding-left: 90px; }
.point-number { position: absolute; left: 0; top: 3px; color: var(--orange); }

.custom-points h3 span { color: var(--green); }
.custom-points .point-copy p { margin-top: 20px; color: var(--muted); }
.point-visual { min-height: 275px; border-radius: 50px 8px 50px 8px; background: #edf3fc; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px 28px; position: relative; }

.point-visual > p { margin-top: 18px; color: var(--muted); }
.workflow-line { display: flex; gap: 9px; align-items: center; margin-top: 28px; width: 100%; }
.workflow-line span { background: white; padding: 18px 7px; flex: 1; text-align: center; border-bottom: 3px solid #bdd0eb; }
.workflow-line i { font-style: normal; }
.workflow-roles { display: grid; grid-template-columns: 2.2fr 1fr; gap: 22px; width: 100%; margin-top: 13px; }
.workflow-roles span { border-top: 2px solid var(--green); color: var(--green); padding-top: 10px; text-align: center; }
.workflow-roles span:last-child { border-color: var(--navy); color: var(--navy); }
.workflow-roles .icon { width: 14px; height: 14px; vertical-align: middle; margin-left: 5px; }
.tools-visual { background: #eaf4ed; border-radius: 8px 50px 8px 50px; }
.tool-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 90%; margin-top: 24px; }
.tool-stack span { background: white; border: 1px solid #c5dccf; box-shadow: 3px 3px 0 #cfe3d7; padding: 15px 13px; display: flex; gap: 14px; align-items: center; }
.tool-stack .icon { color: var(--green); width: 25px; height: 25px; }
.rules-visual { background: #fff4e4; }
.rule-sheet { width: 85%; padding: 25px; background: white; box-shadow: 6px 7px 0 #f0dfc4; position: relative; }
.rule-sheet .visual-caption { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.rule-sheet p { display: flex; gap: 10px; align-items: center; padding-block: 9px; border-bottom: 1px solid var(--line); }
.rule-sheet .icon { width: 16px; height: 16px; color: var(--green); }
.rule-stamp { position: absolute; bottom: 12px; right: -25px; border: 2px solid var(--green); color: var(--green); padding: 7px 8px; background: #fff; }
.examples-section { background: var(--navy); color: white; padding-block: 90px 85px; }
.examples-section .section-heading { margin-bottom: 35px; }
.examples-section .section-heading > p, .examples-section .section-note { color: #d0deee; }
.case-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.case-tabs button { color: #d9e6f4; border: 1px solid #60758e; border-bottom: 0; border-radius: 12px 12px 0 0; background: transparent; padding: 19px 10px; }
.case-tabs button[aria-selected=true] { color: var(--navy); background: var(--orange); border-color: var(--orange); }
.case-tabs button:hover { background: #ffffff15; }
.case-tabs button[aria-selected=true]:hover { background: #f5b357; }
.case-panel { display: grid; grid-template-columns: 1fr 1.04fr; gap: 50px; align-items: center; padding: 50px 42px; background: white; color: var(--navy); border-radius: 0 0 20px 20px; min-height: 470px; }
.case-copy { align-self: start; }
.case-label { display: inline-flex; align-items: center; max-width: 100%; min-height: 32px; padding: 6px 12px; border-radius: 6px; background: var(--green); color: var(--white); font-weight: 700; line-height: 1.4; }
.case-copy h3 { margin-top: 17px; }
.case-copy > p { color: var(--muted); margin-top: 20px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; margin-top: 22px; }
.role-tags li { padding: 3px 9px; color: var(--green); background: var(--green-light); border-radius: 3px; }
.case-copy .human-point { border-top: 1px solid var(--line); padding-top: 17px; }
.human-point strong { display: block; color: var(--navy); margin-bottom: 5px; }
.case-visual { min-width: 0; padding: 22px 18px 15px; border: 2px solid #c0d1e6; background: #f0f5fb; border-radius: 12px; box-shadow: 8px 8px 0 #e0e9f4; position: relative; }
.case-visual::before { content: '● ● ●'; display: block; color: #93aac7; margin-bottom: 14px; }
.case-visual img { width: 100%; border-radius: 3px; }
.case-visual figcaption { color: var(--muted); text-align: center; margin-top: 12px; }
.scope-section { padding-block: 112px 95px; background: var(--white); }
.consultation-section {
  background-image: radial-gradient(circle, var(--dot-ink) 1px, transparent 1.2px);
  background-size: var(--dot-spacing) var(--dot-spacing);
  background-position: 0 0;
  background-repeat: repeat;
}
.scope-intro > p { text-align: center; }
.ongoing-support { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 40px; width: min(100%, 850px); margin: 38px auto 0; padding: 30px; border: 1px solid #a9d6b9; border-radius: 8px; background: var(--green-light); }
.support-option { display: inline-block; padding: 4px 10px; margin-bottom: 12px; border-radius: 4px; background: var(--green); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.5; }
.ongoing-support h3 { color: var(--green); }
.ongoing-support p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.ongoing-support p + p { margin-top: 8px; }
.price-section { background: #edf3fc; color: var(--navy); padding-block: 78px; }
.price-grid { display: block; }
.price-intro { margin: 0 auto 42px; }
.price-intro > p { color: var(--muted); text-align: center; }
.price-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; width: min(100%, 850px); margin-inline: auto; color: var(--navy); }
.price-cta-label { display: flex; width: fit-content; min-height: 48px; align-items: center; justify-content: center; margin: 30px auto 0; padding: 11px 18px; border-radius: 6px; background: var(--green); color: var(--white); font-weight: 700; line-height: 1.5; transition: background .2s ease; }
.price-cta-label:hover { background: var(--green-hover); }

.price-value { color: var(--green); margin-block: 14px 5px; }
.price-value + p { color: var(--muted); }
.price-panel ul { padding-left: 1.2em; margin-top: 12px; color: var(--muted); }
.price-panel .small-note { margin-top: 22px; }
.company-section { padding-block: 125px 112px; background: var(--white); }
.company-heading { margin-bottom: 65px; }
.company-heading > h2 { font-size: clamp(34px, 3.4vw, 46px); }
.company-grid { display: grid; grid-template-columns: 300px 1fr; gap: 100px; align-items: start; max-width: 1040px; margin-inline: auto; }
.representative { justify-self: center; margin: 0; }
.representative > img { border-radius: 8px; width: 100%; }
.company-grid .section-heading { margin: 0; }
.company-copy > p { text-align: left; }
.faq-section { background: var(--white); padding-block: 80px; }
.faq-list { max-width: 850px; margin-inline: auto; }
.faq-list details { border-bottom: 1px solid #cbd7e5; }
.faq-list details:first-child { border-top: 1px solid #cbd7e5; }
.faq-list summary { list-style: none; display: flex; align-items: start; gap: 17px; padding-block: 25px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--green); }
.faq-list summary .icon { margin-left: auto; margin-top: 3px; width: 23px; height: 23px; transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 30px 26px 33px; color: var(--muted); }
.consultation-section { --dot-ink: rgba(16, 44, 80, .22); background-color: var(--blue); border-radius: 0; padding-block: 100px 95px; margin-top: 50px; }
.consultation-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.consultation-grid .section-heading { margin: 0; padding-top: 0; }

.consultation-form { width: min(100%, 850px); margin-inline: auto; padding: 36px; background: white; border: 2px solid var(--navy); border-radius: 18px; }
.form-title { margin-bottom: 14px; }
.preview-notice { color: var(--muted); padding: 12px 14px; background: var(--pale); border-left: 2px solid #a1b6cf; margin-bottom: 22px; }
label { display: block; margin-block: 17px 8px; }
.required { background: #eaf4ed; color: #087343; border-radius: 3px; margin-left: 9px; padding: 2px 5px; }
input, textarea { width: 100%; padding: 12px 13px; color: var(--navy); border: 1px solid #c4d1df; background: white; border-radius: 4px; }
input::placeholder, textarea::placeholder { color: #75859b; }
textarea { resize: vertical; min-height: 115px; }
.form-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 15px; }
.form-button { width: 100%; min-height: 55px; margin-top: 34px; border-radius: 4px; }
.form-status { min-height: 1.6em; margin: 18px 0 0; color: var(--green); font-size: 14px; font-weight: 700; line-height: 1.7; }
.form-status.is-error { color: #a92b21; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.turnstile-container { margin-top: 22px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-methods { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.contact-methods legend { margin-bottom: 12px; padding: 0; font-size: var(--type-body); font-weight: 700; line-height: 1.6; }
.consultation-form > label:not(.contact-method):not(.form-consent),
.form-columns > div > label,
.contact-methods legend {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-block: 20px 9px;
  color: var(--green);
}
.contact-methods legend { margin-top: 0; margin-bottom: 14px; }
.consultation-form > label:not(.contact-method):not(.form-consent) .required,
.form-columns > div > label .required,
.contact-methods legend .required { margin-left: 7px; }
.contact-method { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; align-items: start; margin: 0 0 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.contact-method:last-child { margin-bottom: 0; }
.contact-method:has(input:checked) { background: var(--green-light); border-color: var(--green); }
.contact-method-title { display: block; }
.contact-method-title > span { display: inline-block; }
.consultation-form input[type="radio"], .consultation-form input[type="checkbox"] { width: 20px; height: 20px; padding: 0; margin: 3px 0 0; accent-color: var(--green); cursor: pointer; }
.form-hint { display: block; margin: 6px 0 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.75; }
.message-hint { margin: -2px 0 10px; }
.optional { display: inline-block; margin-left: 9px; padding: 2px 5px; color: var(--muted); background: var(--pale); border-radius: 3px; font-size: var(--type-note); font-weight: 500; }
.form-notice { margin-top: 28px; padding: 16px; background: #e1ecfa; border: 1px solid #c0d3e8; border-radius: 6px; scroll-margin-top: 110px; }
.form-notice summary { cursor: pointer; font-weight: 700; font-size: var(--type-label); line-height: 1.8; }
.form-notice summary .form-hint { display: inline; }
.form-notice ul { margin: 16px 0 0; padding-left: 1.25em; color: var(--muted); font-size: 14px; line-height: 1.85; }
.form-notice li + li { margin-top: 12px; }
.form-consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; align-items: start; margin: 24px 0 0; cursor: pointer; font-size: var(--type-label); }
.form-consent a { display: inline-block; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.form-consent .required { display: inline-block; }
.form-followup { margin: 0 0 24px; padding: 16px; background: var(--pale); font-size: 14px; line-height: 1.8; }
.form-followup strong, .form-followup span { display: block; }
.form-followup span { margin-top: 8px; }
.site-footer { padding: 68px 0 0; background: #0b2341; color: white; }
.footer-main { display: grid; grid-template-columns: 1.1fr .6fr .7fr .65fr; gap: clamp(28px,4vw,52px); align-items: start; padding-bottom: 54px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.footer-brand > img { width: 56px; height: 56px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand-copy { display: flex; flex-direction: column; gap: 5px; transform: translateY(4px); }
.footer-wordmark { display: block; width: 150px; height: 25px; }
.footer-brand-copy small { color: #bdccdc; font-size: 14px; font-weight: 500; letter-spacing: .42px; line-height: 1.3; white-space: nowrap; }
.footer-company { margin: 20px 0 0; color: #bdccdc; font-size: 14px; font-weight: 400; line-height: 1.7; }
.footer-column { display: grid; align-content: start; gap: 12px; }
.footer-column h2 { width: auto; margin: 0 0 7px; color: #9bd5b3; font-size: 15px; font-weight: 900; line-height: 1.5; text-align: left; }
.footer-column a { color: white; font-size: 15px; font-weight: 700; line-height: 1.65; }
.footer-column a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-service { display: grid; gap: 2px; }
.footer-service-note { color: #bdccdc; font-size: 13px; font-weight: 400; line-height: 1.55; }
.footer-bottom { border-top: 1px solid #ffffff29; padding: 24px 0 28px; color: #bdccdc; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.6; }
dialog { max-width: min(600px,calc(100% - 32px)); width: 600px; max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 10px; color: var(--navy); box-shadow: 0 20px 80px #05162933; }
dialog::backdrop { background: #102c50aa; }
.dialog-content { padding: 36px; }

#review-note { color: var(--muted); margin-top: 12px; }
#review-values { margin-block: 22px; }
#review-values dt { color: var(--green); margin-top: 15px; }
#review-values dd { margin: 5px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dialog-actions .button { width: 100%; }
.dialog-actions .button-secondary { color: var(--navy); border-color: var(--line); background: #fff; }

.hero-figure figcaption { margin-top: 12px; text-align: center; color: #344f6b; }
.flow-list { max-width: 760px; margin-inline: auto; list-style: none; padding: 0; }
.flow-list li { display: grid; grid-template-columns: 36px 1fr; gap: 22px; align-items: baseline; padding-block: 25px; }
.flow-number { color: var(--green); }

.flow-list p { margin-top: 9px; color: var(--muted); }

@media (min-width: 1500px) {
  .hero-grid { padding-block: 85px; }
}
@media (min-width: 900px) {
  .company-heading > h2 { white-space: nowrap; }
}
@media (max-width: 1180px) {
  .header-inner { width: calc(100% - 40px); gap: 16px; }
  .site-nav { gap: 17px; }

  .hero-button { gap: 12px; padding-left: 22px; }

  .team-grid { gap: 40px; }
  .custom-points article { gap: 50px; }

  .point-copy { padding-left: 76px; }

  .point-visual { padding: 32px 22px; }
  .case-panel { gap: 35px; padding: 40px 30px; }

  .company-grid, .consultation-grid { gap: 55px; }

  .consultation-form { padding: 28px; }
}
@media (max-width: 1024px) {
  .hero-figure figcaption { margin-top: 12px; }

  .flow-list li { gap: 15px; grid-template-columns: 28px 1fr; padding-block: 22px; }

  :root { --header-height: 74px; }
  .container { width: calc(100% - 56px); }
  .header-inner { width: calc(100% - 48px); }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0 10px 12px; border: 0; background: white; color: var(--navy); min-height: 44px; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; height: 2px; width: 19px; background: var(--navy); }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; top: -6px; }
  .menu-lines::after { top: 6px; }
  .menu-toggle[aria-expanded=true] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded=true] .menu-lines::before { transform: rotate(45deg); top: 0; }
  .menu-toggle[aria-expanded=true] .menu-lines::after { transform: rotate(-45deg); top: 0; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-height); background: white; border-bottom: 1px solid var(--line); padding: 12px 28px 24px; box-shadow: 0 12px 20px #102c5010; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 18px; }
  .hero-grid { padding-block: 52px 57px; }

  .hero-audience { gap: 6px; padding-inline: 1px; }
  .hero-audience::before, .hero-audience::after { flex-basis: 10px; width: 10px; }
  .hero-figure { margin-right: -10px; }
  .hero-button { padding: 14px 15px; gap: 8px; min-height: 60px; }

  .problems { padding-block: 75px 80px; }
  .problem-list { max-width: 780px; gap: 36px; }

  .team-section { padding-block: 85px; }
  .team-grid { gap: 32px; }
  .role-heading { gap: 10px; }

  .custom-section { padding-block: 85px 95px; }
  .custom-points { gap: 60px; }
  .custom-points article { gap: 35px; }

  .point-copy { padding-left: 65px; }

  .point-visual { min-height: 250px; padding: 27px 18px; }

  .workflow-line { gap: 5px; }
  .workflow-line span { padding: 14px 3px; }
  .workflow-roles { gap: 16px; }
  .workflow-roles .icon { display: none; }
  .tool-stack { width: 100%; gap: 10px; }
  .tool-stack span { gap: 9px; padding: 12px 10px; }
  .tool-stack .icon { width: 20px; height: 20px; }
  .rule-sheet { width: 91%; padding: 22px 16px; }

  .examples-section { padding-block: 75px; }
  .case-panel { gap: 25px; padding: 32px 28px; }

  .scope-section { padding-block: 85px 75px; }

  .price-section { padding-block: 75px; }
  .company-section { padding-block: 100px 85px; }
  .company-heading { margin-bottom: 50px; }
  .company-grid { grid-template-columns: 240px 1fr; gap: 50px; }

  .consultation-grid { gap: 42px; }

  .consultation-form { padding: 26px; }
  .form-columns { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767px) {
  .hero-figure figcaption { margin-top: 12px; padding-inline: 5px; }
  .hero h1 { gap: 10px; }
  .team-design-note { padding: 22px 18px; }
  .flow-list li { grid-template-columns: 27px 1fr; gap: 16px; padding-block: 22px; }

  :root { --header-height: 68px; }

  .container { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 32px); }
  .brand-icon { width: 44px; height: 44px; }
  .brand-wordmark { width: 120px; height: 20px; }
  .brand-text { transform: none; }
  .brand-desc { display: none; }
  .mobile-only { display: initial; }
  .desktop-only { display: none; }

  .section-heading { margin-bottom: 32px; }
  .section-heading > p { margin-top: 20px; }
  .centered { text-align: center; }
  .section-label { margin-bottom: 16px; }
  .section-kicker { margin-bottom: 18px; }
  .section-kicker::before, .section-kicker::after { margin-inline: 9px; width: 12px; height: 2px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 34px 32px; gap: 35px; }
  .hero-audience { gap: 4px; padding-inline: 1px; margin-bottom: 22px; }
  .hero-audience::before, .hero-audience::after { flex-basis: 8px; width: 8px; border-top-width: 1.5px; }

  h1 .hero-context { margin-bottom: 0; }
  .highlight em::after { height: 9px; bottom: 1px; }
  .hero-lead { margin-top: 20px; }
  .hero-button { width: 100%; margin-top: 25px; padding: 15px 17px; min-height: 62px; gap: 13px; }
  .hero-button .icon { width: 28px; height: 28px; }
  .cta-note { text-align: center; margin-top: 14px; }
  .hero-figure { width: min(490px,100%); margin: 0 auto; }
  .hero-figure > img { max-height: 300px; object-fit: contain; }
  .problems { padding-block: 65px 60px; }

  .problem-list { gap: 32px; margin-bottom: 42px; }
  .problem-list li { grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding-block: 5px; }
  .problem-list li::before { width: 38px; height: 38px; }
  .team-section { padding-block: 70px 60px; border-radius: 50% 50% 0 0 / 22px 22px 0 0; }
  .team-grid { grid-template-columns: 1fr; gap: 38px; }
  .team-role { display: grid; grid-template-columns: 100px 1fr; gap: 0 16px; align-items: center; }
  .team-role img { width: 100%; grid-row: span 2; aspect-ratio: auto; margin: 0; transform: scale(1.15); }
  .role-heading { gap: 10px; padding-bottom: 10px; }

  .team-role p { margin-top: 10px; }
  .section-note { text-align: left !important; margin-top: 24px; }
  .custom-section { padding-block: 70px 75px; }
  .custom-intro { display: block; margin-bottom: 48px; }

  .custom-points { gap: 45px; }
  .custom-points article, .custom-points article:nth-child(2) { grid-template-columns: 1fr; gap: 25px; }
  .custom-points article:nth-child(2) .point-copy { order: initial; }
  .point-copy { padding-left: 72px; }

  .custom-points h3 br { display: none; }
  .custom-points .point-copy p { margin-top: 15px; }
  .point-visual { min-height: 250px; border-radius: 40px 8px 40px 8px; padding: 27px 22px; }

  .workflow-line span { padding-block: 16px; }

  .tool-stack { width: 94%; }
  .tool-stack span { padding: 14px 12px; gap: 11px; }
  .rule-sheet { width: 84%; padding: 22px 17px; }

  .examples-section { padding-block: 63px 55px; }

  .case-tabs { grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 15px; }
  .case-tabs button { border: 1px solid #60758e; padding: 12px 8px; border-radius: 4px; }
  .case-panel { grid-template-columns: 1fr; padding: 27px 23px 32px; gap: 25px; border-radius: 12px; min-height: 0; }

  .case-label { min-height: 30px; padding: 5px 9px; font-size: 14px; }
  .case-copy > p { margin-top: 16px; }
  .role-tags { margin-top: 20px; }
  .role-tags li { padding-inline: 7px; }
  .case-visual { padding: 15px 12px 12px; box-shadow: 5px 5px 0 #e0e9f4; }

  .scope-section { padding-block: 70px 55px; }

  .ongoing-support { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; padding: 24px; }

  .price-section { padding-block: 50px 55px; }
  .price-intro { margin-bottom: 32px; }
  .price-panel { grid-template-columns: 1fr; gap: 34px; }
  .price-cta-label { margin-top: 24px; }

  .company-section { padding-block: 70px 65px; }
  .company-heading { margin-bottom: 38px; }
  .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .company-grid .company-copy { order: -1; }

  .representative { display: block; width: 140px; margin-inline: auto; }
  .representative > img { width: 140px; border-radius: 8px; }
  .faq-section { padding-block: 55px; }
  .faq-list summary { padding-block: 22px; gap: 12px; }

  .faq-list summary .icon { width: 19px; height: 19px; margin-top: 5px; }
  .faq-answer { padding: 0 8px 24px 29px; }
  .consultation-section { margin-top: 30px; border-radius: 0; padding-block: 55px 60px; }
  .consultation-grid { gap: 32px; }
  .consultation-grid .section-heading { padding-top: 0; }

  .consultation-form { padding: 26px 20px; margin-right: 5px; border-radius: 14px; }

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

  .site-footer { padding-top: 50px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .footer-bottom { padding-bottom: 26px; }
  .dialog-content { padding: 26px; }
}
@media (max-width: 360px) {

  .flow-list li { gap: 12px; }

  .container { width: calc(100% - 32px); }

  .hero-button { gap: 9px; }

  .team-role { grid-template-columns: 78px 1fr; gap: 0 13px; }

  .point-copy { padding-left: 61px; }

  .point-visual { padding-inline: 15px; }

  .representative { width: 120px; }
  .representative > img { width: 120px; }
}

/* Mobile-only hierarchy: keep the hero dominant and let compact headings wrap naturally when needed. */
@media (max-width: 767px) {
  body.mobile-bottom-cta-visible { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .menu-toggle { width: 44px; min-width: 44px; justify-content: center; padding: 10px; }

  .section-heading > h2 {
    width: min(100%, 335px);
    margin-inline: auto;
    text-wrap: wrap;
  }

  .problem-list { gap: 34px; }
  .problem-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .problem-list li::before { width: 34px; height: 34px; }
  .problem-list h3 { white-space: normal; }

  .role-heading { flex-wrap: nowrap; }
  .role-heading h3 { min-width: 0; flex: 1 1 auto; white-space: normal; }

  .point-copy { padding-left: 0; }
  .point-number { position: static; display: block; margin-bottom: 10px; }
  .custom-points h3 { white-space: normal; }

  .related-service { width: calc(100% - 24px); margin-inline: auto; }
  .related-service-panel { padding-inline: 16px; }
  .related-service .section-heading > h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(18px, 5vw, 19px);
    letter-spacing: -.02em;
    text-wrap: wrap;
  }
  .related-service-copy > p > strong:first-child { color: var(--green); font-weight: 800; }

  .case-panel { padding-inline: 12px; }
  .case-heading-desktop { display: none; }
  .case-heading-mobile { display: inline; white-space: nowrap; }

  .consultation-section { margin-top: 0; }

  .mobile-bottom-cta:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 29;
    display: block;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--green);
    box-shadow: 0 -4px 14px rgba(16, 44, 80, .18);
  }
  .mobile-bottom-cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 0 18px;
    color: var(--white);
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
  }
  .mobile-bottom-cta-link .icon { width: 23px; height: 23px; }
  .mobile-bottom-cta-arrow { font-size: 22px; font-weight: 600; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Allow the readable type scale to fit without shrinking labels or buttons. */
.hero-button { max-width: 100%; }
.hero-button > span { min-width: 0; text-wrap: balance; }
.hero-figure figcaption { text-wrap: balance; }
.cta-note { text-wrap: balance; }
h2, h3 { text-wrap: balance; }
.section-kicker { display: inline-flex; align-items: center; gap: 18px; }
.section-kicker::before, .section-kicker::after { flex: 0 0 20px; margin-inline: 0; }
.compact-only { display: none; }
@media (max-width: 1024px) {
  .hero-button { padding-inline: 16px; gap: 12px; }
  .workflow-line { flex-wrap: wrap; }
  .workflow-line span { min-width: 5em; }
}
@media (max-width: 767px) {
  .hero-button { padding-inline: 16px; }
  .section-kicker { gap: 8px; }
  .section-kicker::before, .section-kicker::after { flex-basis: 12px; }
  .team-role { grid-template-columns: 90px minmax(0,1fr); }
  .role-heading { flex-wrap: nowrap; gap: 8px 10px; }
  .role-heading h3 { min-width: 0; flex: 1 1 auto; white-space: normal; }
  .point-visual { padding-inline: 20px; }
  .workflow-line { gap: 5px; }
  .workflow-line span { min-width: 0; padding-inline: 2px; }
  .rule-sheet { width: 94%; }
}
@media (max-width: 360px) {
  .compact-only { display: initial; }
  .hero-button { padding-block: 13px; }
  .team-role { grid-template-columns: 72px minmax(0,1fr); }
  .point-copy { padding-left: 0; }
  .point-number { position: static; display: block; margin-bottom: 10px; }
  .tool-stack { width: 100%; }
  .tool-stack span { gap: 7px; padding-inline: 8px; }
}
