:root {
  --white: #fff;
  --surface: #f5f5f7;
  --green: #2d7a4f;
  --green-dark: #205c3b;
  --green-pale: #edf5f0;
  --orange: #ff6a00;
  --orange-dark: #d95700;
  --orange-pale: #fff0e6;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --shadow: 0 18px 55px rgba(29, 29, 31, .08);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  --section-space: clamp(54px, 6vw, 72px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(255, 106, 0, .5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

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

.narrow {
  width: min(calc(100% - 40px), 840px);
  margin-inline: auto;
}

.section { padding: var(--section-space) 0; }
.section--soft { background: var(--surface); }
.section--green { background: var(--green-pale); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.35;
  letter-spacing: -.03em;
  overflow-wrap: normal;
  text-wrap: pretty;
  text-wrap: balance;
  word-break: keep-all;
}

.u-phrase { display: inline-block; white-space: nowrap; }

h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); }
h2 { margin-bottom: 20px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.16rem, 2vw, 1.48rem); }

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: .82rem; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(232, 232, 237, .9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { width: 146px; height: auto; }

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  margin-left: auto;
}

.global-nav > a {
  color: #3b3b3e;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav > a:not(.button):hover { color: var(--green); }
.global-nav > .button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--small { min-height: 44px; padding: 10px 18px; font-size: .86rem; }
.button--primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 25px rgba(255, 106, 0, .22);
}
.button--primary:hover { background: var(--orange-dark); }
.button--secondary { color: var(--green); background: var(--white); border-color: var(--green); }
.button--green { color: var(--white); background: var(--green); }
.text-link { color: var(--green); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 6vh, 64px) 0;
  background: linear-gradient(135deg, #fff 8%, var(--green-pale) 48%, #f8fbf9 72%, #fff 96%);
  background-size: 180% 180%;
  animation: hero-gradient 16s ease-in-out infinite alternate;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 82% 18%, rgba(45, 122, 79, .1), transparent 34%);
  pointer-events: none;
}

@keyframes hero-gradient {
  from { background-position: 0% 30%; }
  to { background-position: 100% 70%; }
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 920px; }

.hero-label {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 13px;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(45, 122, 79, .16);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
}

.hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.6rem, 5.3vw, 4.15rem); line-height: 1.1; letter-spacing: -.045em; }
.h1-kicker { display: block; margin-bottom: 8px; color: var(--green); font-size: .48em; line-height: 1.4; letter-spacing: -.02em; }
.h1-kicker em { font-style: normal; color: var(--orange); }
.h1-main { display: block; }
.hero-copy { max-width: 740px; color: #424246; font-size: clamp(1rem, 1.6vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-microcopy { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }
.hero-grid { display: grid; grid-template-areas: "head" "visual" "sub" "cta"; }
.hero-head { grid-area: head; min-width: 0; }
.hero-visual { grid-area: visual; width: min(88%, 560px); margin: 14px 0 4px auto; }
.hero-visual img { width: 100%; height: auto; }
.hero-sub { grid-area: sub; min-width: 0; }
.hero-cta { grid-area: cta; min-width: 0; }
.hero-copy--short { display: none; }

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: clamp(30px, 5vh, 46px);
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { min-width: 0; padding: 6px 24px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__value { margin-bottom: 3px; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 900; line-height: 1.4; }
.stat__value strong { color: var(--orange); font-size: 1.45em; }
.stat__metric { display: inline-block; white-space: nowrap; }
.stat__label { margin: 0; color: var(--muted); font-size: .82rem; }
.stats-note { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problem-card, .work-card, .service-card, .reason-card, .article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.problem-card:hover, .work-card:hover, .article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(45, 122, 79, .25); }
.problem-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.problem-card__icon { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; color: var(--green); background: var(--green-pale); border-radius: 15px; }
.problem-card__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.problem-card h3 { margin: 3px 0 0; font-size: 1rem; line-height: 1.65; }
.problem-closing { max-width: 940px; margin: 28px auto 0; padding: 20px 24px; color: var(--green-dark); background: var(--green-pale); border-radius: 16px; font-size: 1.02rem; font-weight: 700; text-align: left; }

.service-stack { display: grid; gap: 18px; }
.service-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); min-width: 0; overflow: hidden; }
.service-card__image { display: block; width: 100%; max-width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.service-card__body { min-width: 0; padding: clamp(24px, 3vw, 34px); }
.service-card__number { color: var(--green); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.service-card__body h3 { margin: 8px 0 10px; }
.service-card__body > p { margin-bottom: 12px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 16px; }
.chip { display: flex; min-width: 0; min-height: 42px; align-items: center; padding: 6px 10px; color: var(--green-dark); background: var(--green-pale); border-radius: 10px; font-size: .76rem; font-weight: 700; line-height: 1.45; }
.service-note { margin-top: 12px; padding: 10px 12px; background: var(--surface); border-radius: 10px; font-size: .8rem; }
.industries { margin-top: 34px; padding: clamp(24px, 4vw, 36px); background: var(--surface); border-radius: var(--radius); }
.industry-primary, .industry-secondary { display: flex; flex-wrap: wrap; gap: 9px; }
.industry-primary span { padding: 10px 15px; color: var(--green-dark); background: var(--white); border: 1px solid rgba(45, 122, 79, .22); border-radius: 999px; font-weight: 800; }
.industry-secondary { margin-top: 14px; }
.industry-secondary span { padding: 7px 11px; color: var(--muted); background: var(--white); border-radius: 999px; font-size: .82rem; }
.industries p:last-child { margin: 24px 0 0; }

.work-card { display: flex; flex-direction: column; overflow: hidden; }
.work-card__image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.work-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.work-card__body h3 { margin-bottom: 12px; font-size: 1rem; }
.work-card__body p { color: var(--muted); }
.work-card__result { margin-bottom: 18px; font-size: .9rem; line-height: 1.65; }
.work-card__result strong { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.35; }
.work-card__body a { margin-top: auto; }

.demo-invite {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 36px;
}
.demo-invite__visual { padding: 20px; background: var(--green-pale); border-radius: 22px; }
.demo-invite__visual img { display: block; width: 100%; height: auto; border-radius: 15px; box-shadow: var(--shadow); }
.tool-figure { margin: 34px 0 0; text-align: center; }
.tool-figure img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tool-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; }
.mini-browser { padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.mini-browser__bar { height: 12px; margin-bottom: 12px; background: linear-gradient(90deg, var(--line) 0 12%, transparent 12%); border-bottom: 1px solid var(--line); }
.mini-browser__row { height: 32px; margin: 7px 0; background: var(--surface); border-radius: 8px; transform-origin: left; animation: build-row 3.2s ease-in-out infinite; }
.mini-browser__row:nth-child(3) { animation-delay: .35s; }
.mini-browser__row:nth-child(4) { animation-delay: .7s; }
@keyframes build-row { 0%, 20% { transform: scaleX(.15); opacity: .45; } 60%, 100% { transform: scaleX(1); opacity: 1; } }

.mission {
  position: relative;
  min-height: clamp(440px, 55svh, 580px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark) url("../images/mission_town.jpg") center/cover no-repeat;
}
.mission::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(20, 61, 39, .94), rgba(20, 61, 39, .72)); }
.mission video { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: cover; filter: blur(1px) saturate(.86); }
.mission__content { position: relative; z-index: 2; max-width: 820px; padding: 62px 0; }
.mission .eyebrow { color: var(--white); }
.mission h2 { max-width: 700px; }
.mission p:last-child { margin-bottom: 0; font-size: .96rem; line-height: 1.85; }

.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; }
.reason-card { padding: 26px; }
.reason-card__art { display: grid; height: 88px; margin-bottom: 16px; place-items: center; color: var(--green); }
.reason-card__art svg { width: 100%; max-width: 180px; height: 88px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.reason-card__art .accent { stroke: var(--orange); }
.reason-card__art .accent-fill { fill: var(--orange); stroke: var(--orange); }
.reason-card p:last-child { margin-bottom: 0; color: var(--muted); }
.reason-card--main { color: var(--white); background: var(--green); border-color: var(--green); transform: translateY(-10px); box-shadow: 0 22px 54px rgba(45, 122, 79, .22); }
.reason-card--main .reason-card__art { color: var(--white); }
.reason-card--main p:last-child { color: var(--white); }
.reason-card--main h3::after { display: block; width: 54px; height: 4px; margin-top: 18px; content: ""; background: var(--orange); border-radius: 4px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 18px; counter-reset: step; }
.step { position: relative; min-width: 0; padding: 24px 18px 0; border-top: 2px solid var(--green); counter-increment: step; }
.step::before { position: absolute; top: -18px; left: 18px; display: grid; width: 34px; height: 34px; content: counter(step); place-items: center; color: var(--white); background: var(--green); border: 4px solid var(--surface); border-radius: 50%; font-size: .82rem; font-weight: 900; }
.step h3 { margin: 8px 0; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .84rem; }

.faq-list { display: grid; gap: 9px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq-item summary { position: relative; padding: 17px 56px 17px 20px; font-size: .98rem; font-weight: 800; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 24px; color: var(--green); content: "+"; font-size: 1.55rem; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.contact-callout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 34px;
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background: var(--green);
  border-radius: 32px;
}
.contact-callout h2 { margin-bottom: 18px; }
.contact-callout__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-callout__tel { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.contact-callout__number { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 900; line-height: 1.3; white-space: nowrap; }
.contact-callout__hours { margin-top: 2px; font-size: .84rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.contact-callout--single { grid-template-columns: 1fr; justify-items: center; gap: 0; text-align: center; }
.contact-callout--single .contact-callout__actions { align-items: center; }
.contact-callout--single h2 { margin-bottom: 14px; }
.contact-callout--single p { max-width: 620px; margin: 0 auto 24px; }

.contact-layout { display: grid; grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr); align-items: stretch; gap: 32px; }
.contact-aside { display: grid; min-width: 0; height: 100%; grid-template-rows: auto minmax(180px, 1fr) auto; gap: 18px; }
.contact-aside img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 20px; }
.contact-form-column { display: flex; min-width: 0; flex-direction: column; gap: 14px; }
.contact-form { padding: clamp(26px, 3vw, 34px); background: var(--surface); border-radius: var(--radius); }
.contact-layout .contact-form { width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 800; }
.required { color: var(--orange); font-size: .78rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d6d6da;
  border-radius: 10px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); outline: 3px solid rgba(45, 122, 79, .12); }
.form-actions { margin-top: 26px; }
.form-status { min-height: 1.8em; margin: 14px 0 0; font-weight: 700; }
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: var(--orange-dark); }
.contact-quick { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 12px 20px; padding: 14px 18px; background: var(--green-pale); border-radius: 14px; }
.contact-aside .contact-quick { grid-template-columns: 1fr; align-self: end; gap: 7px; }
.contact-quick strong { color: var(--green-dark); font-size: .82rem; }
.contact-quick p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.contact-quick a { color: var(--green-dark); font-weight: 800; }
.contact-quick span { color: var(--muted); font-size: .74rem; }

.site-footer { padding: 48px 0 22px; background: var(--surface); border-top: 1px solid var(--line); }
.site-footer .logo { padding: 0; background: transparent; border-radius: 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 44px; }
.footer-brand p { max-width: 390px; color: var(--muted); }
.footer-links strong { display: block; margin-bottom: 14px; }
.footer-links a { display: block; width: fit-content; margin: 7px 0; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.breadcrumbs { padding: 18px 0; color: var(--muted); font-size: .8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.breadcrumbs a { color: var(--green); }

.page-hero { padding: clamp(46px, 6vw, 64px) 0; background: var(--green-pale); }
.page-hero__grid { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 34px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.page-hero p { color: var(--muted); font-size: 1.08rem; }
.page-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 280px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }

.case-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.case-stage { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.case-stage--after { background: var(--green-pale); border-color: rgba(45, 122, 79, .28); }
.case-stage__label { display: inline-flex; margin-bottom: 16px; padding: 5px 10px; color: var(--green); background: var(--white); border-radius: 999px; font-size: .75rem; font-weight: 900; }
.case-stage--before .case-stage__label { color: var(--orange-dark); background: var(--orange-pale); }
.case-arrow { display: grid; place-items: center; color: var(--orange); font-size: 2rem; font-weight: 900; }
.case-stage p:last-child { margin-bottom: 0; }
.case-profile { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 14px; }
.case-profile h2 { margin: 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
.case-profile p { margin: 0; font-size: .95rem; font-weight: 700; }

.demo-page { background: #f5f7fa; }
.demo-page-hero { background: linear-gradient(145deg, #edf5f0 0%, #f7fbf8 58%, #eef4ff 100%); }
.demo-page-hero__copy { max-width: 900px; text-align: center; }
.demo-page-hero__copy .eyebrow { justify-content: center; }
.demo-page-hero__copy h1 { margin-bottom: 18px; }
.demo-page-hero__copy p:last-child { max-width: 820px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.demo-section { background: #f5f7fa; }
.demo-section-head { margin-inline: auto; text-align: center; }
.demo-section-head .eyebrow { justify-content: center; }
.privacy-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  padding: 14px 18px;
  margin: 0 auto 28px;
  color: var(--green-dark);
  background: var(--green-pale);
  border: 1px solid rgba(45, 122, 79, .18);
  border-radius: 14px;
  font-size: .92rem;
  font-weight: 700;
}
.privacy-banner__mark { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: .82rem; }
.demo-app-stage { position: relative; padding: 34px; overflow: hidden; background: radial-gradient(circle at 22% 4%, rgba(90, 151, 255, .3), transparent 32%), linear-gradient(145deg, #13213c, #192f58 58%, #10213f); border-radius: 30px; box-shadow: 0 28px 70px rgba(15, 35, 68, .2); }
.demo-app-stage::before, .demo-app-stage::after { position: absolute; content: ""; border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; }
.demo-app-stage::before { top: -180px; right: -90px; width: 430px; height: 430px; }
.demo-app-stage::after { bottom: -260px; left: -160px; width: 540px; height: 540px; }
.estimate-device { position: relative; z-index: 1; width: min(100%, 500px); padding: 22px 10px 10px; margin: 0 auto; background: #111827; border: 1px solid rgba(255, 255, 255, .22); border-radius: 36px; box-shadow: 0 32px 75px rgba(0, 0, 0, .35); }
.estimate-device__speaker { position: absolute; top: 9px; left: 50%; width: 62px; height: 5px; background: #334155; border-radius: 99px; transform: translateX(-50%); }
.estimate-app {
  --app-blue: #1a56db;
  --app-blue-dark: #1e40af;
  --app-blue-pale: #eff6ff;
  --app-orange: #c2410c;
  --app-orange-line: #fdba74;
  --app-orange-pale: #ffedd5;
  position: relative;
  height: min(760px, calc(100vh - 80px));
  min-height: 620px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #1f2937;
  background: #f9fafb;
  border-radius: 26px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overscroll-behavior: contain;
}
.estimate-app button, .estimate-app input { font-family: inherit; }
.estimate-app input[type="checkbox"] { width: 21px; height: 21px; flex: 0 0 auto; margin: 0; accent-color: var(--app-blue); cursor: pointer; }
.estimate-app__header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 13px 18px; color: #fff; background: var(--app-blue); box-shadow: 0 4px 12px rgba(26, 86, 219, .22); }
.estimate-app__header h3 { flex: 1; margin: 0; color: #fff; font-size: 1.22rem; letter-spacing: 0; text-align: left; }
.estimate-app__back { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; color: #fff; background: transparent; border: 0; border-radius: 10px; font-size: 1.45rem; cursor: pointer; }
.estimate-app__back:hover { background: rgba(255, 255, 255, .14); }
.estimate-app__back:disabled { cursor: default; opacity: .25; }
.estimate-app__demo-badge { padding: 4px 9px; color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.estimate-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.estimate-progress__label { color: var(--app-blue); font-size: .82rem; font-weight: 800; }
.estimate-progress__bars { display: flex; align-items: center; gap: 6px; }
.estimate-progress__bars span { width: 9px; height: 8px; background: #d1d5db; border-radius: 99px; transition: width .25s ease, background .25s ease; }
.estimate-progress__bars span.is-complete { width: 26px; background: var(--app-blue); }
.estimate-app__body { min-height: calc(100% - 190px); padding: 20px 16px 104px; }
.estimate-step h4 { margin: 0 0 5px; color: #1f2937; font-size: 1.18rem; letter-spacing: -.02em; }
.estimate-step__lead { margin-bottom: 20px; color: #6b7280; font-size: .86rem; line-height: 1.65; }
.estimate-field { margin-bottom: 17px; }
.estimate-field label { display: block; margin-bottom: 6px; color: #374151; font-size: .84rem; font-weight: 800; }
.estimate-field label span { color: #ef4444; }
.estimate-field input { width: 100%; min-height: 51px; padding: 11px 13px; color: #1f2937; background: #fff; border: 2px solid #d1d5db; border-radius: 12px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.estimate-field input:focus { border-color: var(--app-blue); box-shadow: 0 0 0 3px rgba(26, 86, 219, .12); }
.estimate-field small { display: block; margin-top: 5px; color: #9ca3af; font-size: .72rem; }
.estimate-error { min-height: 1.4em; margin: 8px 0 0; color: #b91c1c; font-size: .8rem; font-weight: 800; }
.estimate-site-chip { padding: 10px 12px; margin-bottom: 12px; color: #1e40af; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 11px; font-size: .79rem; font-weight: 800; }
.estimate-selection-count { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; margin-bottom: 10px; color: #6b7280; font-size: .75rem; }
.estimate-selection-count strong { color: var(--app-blue); font-size: 1rem; }
.estimate-category { margin-bottom: 22px; }
.estimate-category__title { padding: 9px 13px; margin: 0; color: #fff; background: var(--app-blue); border-radius: 12px 12px 0 0; font-size: .91rem; letter-spacing: 0; text-align: left; }
.estimate-category__body { padding: 10px; background: #fff; border: 1px solid var(--app-blue); border-top: 0; border-radius: 0 0 12px 12px; }
.estimate-item { margin-bottom: 8px; overflow: hidden; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; transition: border-color .18s ease, background .18s ease; }
.estimate-item:last-child { margin-bottom: 0; }
.estimate-item.is-selected { background: var(--app-blue-pale); border-color: var(--app-blue); }
.estimate-item__toggle { display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 11px 12px; cursor: pointer; }
.estimate-item__name { flex: 1; color: #1f2937; font-size: .92rem; font-weight: 700; }
.estimate-item__marker { padding: 3px 7px; color: #9ca3af; background: #f3f4f6; border-radius: 99px; font-size: .62rem; font-weight: 800; }
.estimate-item.is-selected .estimate-item__marker { color: var(--app-blue); background: #dbeafe; }
.estimate-item__details { padding: 10px 12px; color: var(--app-orange); background: var(--app-orange-pale); border-top: 1px solid var(--app-orange-line); }
.estimate-item__details small { display: block; margin-top: 5px; color: #ea580c; font-size: .66rem; }
.estimate-item__formula { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.estimate-item__formula + .estimate-item__formula { margin-top: 7px; }
.estimate-item__field-label, .estimate-item__labor-label { color: var(--app-orange); font-size: .74rem; font-weight: 800; }
.estimate-item__labor-label { width: 78px; }
.estimate-item__quantity, .estimate-variant__quantity { width: 62px; }
.estimate-item__price { width: 102px; }
.estimate-item__labor-price { width: 128px; }
.estimate-item__details input[type="number"] { min-height: 36px; padding: 5px 7px; color: #7c2d12; background: #fff; border: 1px solid var(--app-orange-line); border-radius: 8px; font-size: .9rem; font-weight: 800; text-align: right; outline: none; }
.estimate-item__details input[type="number"]:focus { border-color: #f97316; box-shadow: 0 0 0 2px rgba(249, 115, 22, .15); }
.estimate-item__unit { color: var(--app-orange); font-size: .72rem; white-space: nowrap; }
.estimate-variant { display: grid; grid-template-columns: minmax(90px, 1fr) 54px auto 82px auto; align-items: center; gap: 5px; padding: 7px 0; border-bottom: 1px solid rgba(251, 146, 60, .25); }
.estimate-variant:last-of-type { border-bottom: 0; }
.estimate-variant__check { display: flex; align-items: center; gap: 7px; color: #9a3412; font-size: .76rem; font-weight: 800; cursor: pointer; }
.estimate-variant__check input { width: 18px !important; height: 18px !important; accent-color: #ea580c !important; }
.estimate-variant__price { width: 82px; }
.estimate-item__details input:disabled { color: #9ca3af; background: rgba(255, 255, 255, .58); cursor: not-allowed; opacity: .62; }
.estimate-summary-card, .estimate-confirm-group, .estimate-total-card { padding: 14px; margin-bottom: 16px; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 15px; }
.estimate-summary-card h5, .estimate-confirm-group h5, .estimate-total-card h5 { margin: 0 0 10px; color: #6b7280; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.estimate-summary-card dl, .estimate-total-card dl, .estimate-document__totals { margin: 0; }
.estimate-summary-card dl > div, .estimate-total-card dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; }
.estimate-summary-card dt, .estimate-total-card dt { color: #6b7280; font-size: .76rem; }
.estimate-summary-card dd, .estimate-total-card dd { margin: 0; color: #1f2937; font-size: .78rem; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.estimate-confirm-group { padding: 0; overflow: hidden; background: #f9fafb; }
.estimate-confirm-group > h5 { padding: 9px 12px; margin: 0; color: #374151; background: #e5e7eb; }
.estimate-confirm-group__body { padding: 9px; }
.estimate-confirm-row { padding: 10px; margin-bottom: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: 11px; }
.estimate-confirm-row:last-child { margin-bottom: 0; }
.estimate-confirm-row__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.estimate-confirm-row__top strong { overflow: hidden; color: #1f2937; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.estimate-confirm-row__top span { padding: 2px 6px; color: #6b7280; border: 1px solid #d1d5db; border-radius: 5px; font-size: .56rem; font-weight: 800; white-space: nowrap; }
.estimate-confirm-row__formula { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: #9ca3af; font-size: .67rem; }
.estimate-confirm-row__formula input { min-height: 34px; padding: 5px 6px; color: #1f2937; background: #fff; border: 1px solid #d1d5db; border-radius: 7px; font-size: .78rem; font-weight: 800; text-align: right; outline: none; }
.estimate-confirm-row__formula input:focus { border-color: var(--app-blue); box-shadow: 0 0 0 2px rgba(26, 86, 219, .12); }
.estimate-confirm-row__price { width: 76px; }
.estimate-confirm-row__quantity { width: 50px; }
.estimate-confirm-row__total { width: 76px; color: #1f2937; font-size: .77rem; text-align: right; white-space: nowrap; }
.estimate-total-card { color: #1e3a8a; background: #eff6ff; border-color: #bfdbfe; }
.estimate-total-card h5 { color: #3b82f6; }
.estimate-total-card__grand { padding-top: 10px !important; margin-top: 5px; border-top: 1px solid #bfdbfe; }
.estimate-total-card__grand dt { color: #1f2937; font-size: .9rem; font-weight: 900; }
.estimate-total-card__grand dd { color: var(--app-blue); font-size: 1.08rem; }
.estimate-step--preview { padding-bottom: 8px; }
.estimate-building { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 420px; color: var(--app-blue); text-align: center; }
.estimate-building__spinner { width: 46px; height: 46px; margin-bottom: 18px; border: 5px solid #dbeafe; border-top-color: var(--app-blue); border-radius: 50%; animation: estimate-spin .72s linear infinite; }
.estimate-building strong { font-size: .92rem; }
.estimate-building__lines { width: 150px; margin-top: 18px; }
.estimate-building__lines span { display: block; height: 6px; margin: 7px 0; background: #dbeafe; border-radius: 99px; animation: estimate-line 1s ease-in-out infinite alternate; transform-origin: left; }
.estimate-building__lines span:nth-child(2) { width: 76%; animation-delay: .13s; }
.estimate-building__lines span:nth-child(3) { width: 88%; animation-delay: .26s; }
@keyframes estimate-spin { to { transform: rotate(360deg); } }
@keyframes estimate-line { from { transform: scaleX(.45); } to { transform: scaleX(1); } }
.estimate-document { padding: 22px 18px 20px; overflow: hidden; color: #1f2937; background: #fff; border: 1px solid #d1d5db; border-radius: 4px; box-shadow: 0 14px 35px rgba(31, 41, 55, .13); }
.estimate-document.is-assembled { animation: estimate-assemble .55s cubic-bezier(.2, .85, .32, 1) both; }
@keyframes estimate-assemble { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.estimate-document__topline { height: 5px; margin: -22px -18px 18px; background: linear-gradient(90deg, var(--app-blue), #60a5fa); }
.estimate-document__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 2px solid #1f2937; }
.estimate-document__kicker { display: block; margin-bottom: 2px; color: var(--app-blue); font-size: .5rem; font-weight: 900; letter-spacing: .18em; }
.estimate-document__head h5 { margin: 0; color: #111827; font-family: serif; font-size: 1.42rem; letter-spacing: .22em; white-space: nowrap; }
.estimate-document__meta { display: flex; align-items: flex-end; flex-direction: column; color: #6b7280; font-size: .55rem; }
.estimate-document__meta strong { color: #374151; font-size: .65rem; }
.estimate-document__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; padding: 15px 0 9px; }
.estimate-document__client { display: flex; align-items: baseline; gap: 4px; padding-bottom: 4px; border-bottom: 1px solid #4b5563; }
.estimate-document__client strong { min-width: 0; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.estimate-document__client span { font-size: .6rem; white-space: nowrap; }
.estimate-document__issuer { display: flex; align-items: flex-end; flex-direction: column; color: #4b5563; font-size: .55rem; text-align: right; }
.estimate-document__issuer strong { color: #1f2937; font-size: .65rem; }
.estimate-document__issuer span { display: block; }
.estimate-document__message { margin: 4px 0 11px; color: #6b7280; font-size: .57rem; }
.estimate-document__project { display: flex; align-items: flex-start; gap: 8px; padding: 7px 9px; margin-bottom: 10px; background: #f3f4f6; }
.estimate-document__project span { color: #6b7280; font-size: .56rem; white-space: nowrap; }
.estimate-document__project strong { font-size: .61rem; line-height: 1.45; }
.estimate-document__amount { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; padding: 8px 4px; margin-bottom: 12px; border-bottom: 2px solid var(--app-blue); }
.estimate-document__amount span { margin-right: auto; color: #4b5563; font-size: .66rem; font-weight: 800; }
.estimate-document__amount strong { color: var(--app-blue); font-size: 1.08rem; }
.estimate-document__amount small { color: #6b7280; font-size: .52rem; }
.estimate-document__table-wrap { overflow: hidden; border: 1px solid #cbd5e1; }
.estimate-document__table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .54rem; line-height: 1.35; }
.estimate-document__table th, .estimate-document__table td { padding: 5px 4px; border-right: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; text-align: right; overflow-wrap: anywhere; }
.estimate-document__table th { color: #fff; background: #475569; font-weight: 800; }
.estimate-document__table th:first-child, .estimate-document__table td:first-child { width: 40%; text-align: left; }
.estimate-document__table th:nth-child(2), .estimate-document__table td:nth-child(2) { width: 14%; }
.estimate-document__table th:nth-child(3), .estimate-document__table td:nth-child(3) { width: 21%; }
.estimate-document__table th:last-child, .estimate-document__table td:last-child { width: 25%; border-right: 0; }
.estimate-document__table tbody tr:last-child td { border-bottom: 0; }
.estimate-document__totals { width: 62%; margin: 10px 0 0 auto; font-size: .62rem; }
.estimate-document__totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 6px; border-bottom: 1px solid #d1d5db; }
.estimate-document__totals dt { color: #6b7280; }
.estimate-document__totals dd { margin: 0; font-weight: 800; }
.estimate-document__totals > div:last-child { color: var(--app-blue); border-bottom: 2px solid var(--app-blue); font-size: .72rem; }
.estimate-document-note { margin: 12px 0 0; color: #6b7280; font-size: .68rem; line-height: 1.6; }
.estimate-app__nav { position: sticky; bottom: 0; z-index: 9; display: flex; gap: 10px; padding: 11px 14px; background: rgba(255, 255, 255, .96); border-top: 1px solid #e5e7eb; box-shadow: 0 -5px 16px rgba(31, 41, 55, .06); backdrop-filter: blur(10px); }
.estimate-nav-button { flex: 1; min-height: 50px; padding: 11px 12px; border: 0; border-radius: 12px; font-size: .88rem; font-weight: 900; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.estimate-nav-button:active { transform: translateY(1px); }
.estimate-nav-button--back { color: #374151; background: #e5e7eb; }
.estimate-nav-button--back:hover { background: #d1d5db; }
.estimate-nav-button--next, .estimate-nav-button--reset { color: #fff; background: var(--app-blue); box-shadow: 0 4px 10px rgba(26, 86, 219, .22); }
.estimate-nav-button--next:hover, .estimate-nav-button--reset:hover { background: var(--app-blue-dark); }
.demo-container > .contact-callout { margin-top: 46px; }

.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; list-style: none; }
.partner-list li { position: relative; padding: 16px 18px 16px 46px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.partner-list li::before { position: absolute; top: 16px; left: 18px; color: var(--green); content: "✓"; font-weight: 900; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; }
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.article-card__date { color: var(--muted); font-size: .78rem; }
.article-card h2 { margin: 10px 0 14px; font-size: 1.25rem; }
.article-card p { color: var(--muted); font-size: .9rem; }
.article-card a { margin-top: auto; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: 46px; }
.article-body { font-size: 1.03rem; }
.article-body h2 { padding-top: 48px; margin-bottom: 18px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.article-body h3 { padding-top: 28px; margin-bottom: 12px; }
.article-body p { margin-bottom: 24px; }
.article-toc { position: sticky; top: 100px; padding: 22px; background: var(--surface); border-radius: 16px; }
.article-toc strong { display: block; margin-bottom: 12px; }
.article-toc ol { padding-left: 20px; margin: 0; }
.article-toc a { color: var(--muted); font-size: .83rem; text-decoration: none; }
.article-toc a:hover { color: var(--green); }
.article-figure { margin: 28px 0; padding: 20px; background: var(--green-pale); border-radius: 18px; text-align: center; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 320px; object-fit: cover; border-radius: 12px; }
.article-cta { margin-top: 48px; padding: 30px; color: var(--white); background: var(--green); border-radius: 22px; }
.article-cta h2 { padding-top: 0; }
.related { margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-grid a { padding: 18px; background: var(--surface); border-radius: 12px; font-weight: 700; text-decoration: none; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.legal-section { padding-top: 32px; margin-bottom: 52px; }
.legal-section h2 { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal-section h3 { margin-top: 32px; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { width: 28%; color: var(--green-dark); background: var(--green-pale); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 861px) {
  .hero-content { max-width: none; text-align: left; }
  .hero h1, .hero-copy { margin-inline: 0; }
  .hero h1 { max-width: none; width: fit-content; font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
  .hero-grid { grid-template-columns: minmax(0, .58fr) minmax(0, .42fr); grid-template-areas: "head head" "sub sub" "visual cta"; column-gap: clamp(24px, 3vw, 48px); align-items: center; }
  .hero-sub { margin-top: 4px; }
  .hero-cta { display: flex; align-self: center; justify-self: start; flex-direction: column; align-items: center; text-align: center; padding-left: clamp(8px, 2vw, 36px); }
  .hero-cta .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 0; width: min(320px, 100%); }
  .hero-visual { width: 90%; max-width: none; margin: 8px 0 0 auto; }
  .h1-kicker { text-align: left; }
  .hero-copy { max-width: none; width: fit-content; text-align: left; }
  .hero-copy .u-line { display: inline; }
  .contact-callout__actions { flex-direction: row; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px); text-align: center; }
  .contact-callout__actions .button { min-height: 72px; padding: 20px 42px; font-size: 1.18rem; }
  .contact-callout__tel { align-items: center; }
  .contact-callout__number { font-size: clamp(1.9rem, 3.6vw, 3rem); }
  .hero-actions { justify-content: flex-start; }
  .section-head { max-width: none; }
  .section-head > p { max-width: 760px; }
}

@media (max-width: 1050px) {
  .global-nav { gap: 13px; }
  .global-nav > a { font-size: .78rem; }
  .problem-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .case-flow { grid-template-columns: 1fr; }
  .case-arrow { transform: rotate(90deg); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .global-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 76px);
    padding: 16px 20px 28px;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: flex; }
  .global-nav > a { padding: 13px 8px; font-size: 1rem; }
  .global-nav > .button { display: inline-flex; margin-top: 8px; }
  .hero { padding-top: 46px; }
  .demo-invite, .contact-layout, .page-hero__grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__image { height: auto; aspect-ratio: 16 / 5; max-height: 210px; }
  .contact-callout { grid-template-columns: 1fr; }
  .contact-layout { gap: 24px; }
  .contact-aside { height: auto; grid-template-rows: auto auto auto; gap: 24px; }
  .contact-aside img { height: auto; min-height: 0; aspect-ratio: 16 / 7; }
  .contact-aside img { max-height: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; order: -1; }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 24px; }
  h1 { font-size: 2.38rem; }
  h2 { font-size: 1.85rem; }
  .hero { min-height: 0; align-items: start; padding: 20px 0; }
  .hero::before { background: radial-gradient(circle at 90% 12%, rgba(45, 122, 79, .1), transparent 40%); }
  .hero-label { margin-bottom: 10px; padding: 5px 10px; font-size: .68rem; }
  .hero h1 { margin-bottom: 12px; font-size: clamp(1.85rem, 8.8vw, 2.3rem); line-height: 1.12; }
  .mission { min-height: 0; }
  .mission__content { padding: 38px 0 44px; }
  .mission__content p { font-size: .85rem; line-height: 1.85; }
  .hero-copy { font-size: .82rem; line-height: 1.58; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
  .hero-actions .button { flex: 1 1 0; min-height: 44px; padding: 9px 11px; font-size: .76rem; }
  .stats-band { margin-top: 18px; padding-top: 4px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 9px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { padding-right: 0; border-bottom: 0; }
  .stat__value { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 1px; font-size: 1.02rem; line-height: 1.5; }
  .stat__value strong { font-size: 1.5em; }
  .stat__nums { text-align: right; }
  .stat__label { font-size: .66rem; line-height: 1.5; }
  .hero-copy--full { display: none; }
  .hero-copy--short { display: block; }
  .hero-visual { width: 82%; margin: 10px 0 2px auto; }
  .stats-note { margin-top: 7px; font-size: .62rem; }
  .problem-grid, .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-list, .articles-grid, .related-grid { grid-template-columns: 1fr; }
  .problem-card { display: block; padding: 16px; }
  .problem-card__icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .problem-card__icon svg { width: 29px; height: 29px; }
  .problem-card h3 { font-size: .85rem; line-height: 1.6; }
  .problem-closing { margin-top: 22px; padding: 16px; font-size: .9rem; text-align: left; }
  .service-stack { gap: 14px; }
  .service-card__image { aspect-ratio: 16 / 6; max-height: 150px; }
  .service-card__body { padding: 20px; }
  .service-card__body > p, .service-note { display: none; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .chip { min-height: 38px; padding: 5px 8px; font-size: .7rem; }
  .industries { margin-top: 24px; padding: 20px; }
  .industry-primary span { padding: 7px 10px; font-size: .76rem; }
  .industry-secondary span { padding: 6px 9px; font-size: .72rem; }
  .work-card__body { padding: 14px; }
  .work-card__body h3 { font-size: .79rem; line-height: 1.6; }
  .work-card__body p { font-size: .74rem; line-height: 1.65; }
  .work-card__result strong { font-size: .96rem; }
  .work-card__body .text-link { font-size: .76rem; }
  .demo-invite { gap: 24px; }
  .demo-invite__visual { padding: 14px; }
  .mission { min-height: 0; background-image: url("../images/mission_town.jpg"); }
  .mission video { display: none; }
  .mission__content { padding: 32px 0; }
  .mission p:last-child { font-size: .82rem; line-height: 1.78; }
  .reasons-grid { grid-template-columns: 1fr; gap: 12px; }
  .reason-card { padding: 20px; }
  .reason-card--main { transform: none; }
  .reason-card__art { height: 66px; margin-bottom: 10px; }
  .reason-card__art svg { height: 66px; }
  .reason-card p { display: block; }
  .steps { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .step { padding: 0 0 20px 44px; border-top: 0; border-left: 2px solid var(--green); }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 0; left: -18px; }
  .step h3 { margin-top: 0; }
  .faq-item summary { padding: 15px 48px 15px 16px; font-size: .9rem; }
  .faq-item summary::after { right: 17px; }
  .contact-callout { padding: 26px 22px; border-radius: 22px; }
  .contact-callout__actions .button { width: 100%; }
  .contact-callout__number { font-size: 1.14rem; }
  .contact-layout { gap: 24px; }
  .contact-aside img { aspect-ratio: 16 / 7; max-height: 150px; }
  .contact-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-field input, .form-field select, .form-field textarea { padding: 12px; }
  .contact-quick { grid-template-columns: 1fr; gap: 7px; padding: 14px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 2.15rem; }
  .page-hero img { aspect-ratio: 16 / 7; max-height: 160px; border-radius: 18px; }
  .case-stage { padding: 20px; }
  .case-profile { padding: 18px; }
  .demo-page-hero__copy { text-align: left; }
  .demo-page-hero__copy .eyebrow, .demo-section-head .eyebrow { justify-content: flex-start; }
  .demo-page-hero__copy p:last-child { font-size: .92rem; }
  .demo-section-head { text-align: left; }
  .privacy-banner { align-items: flex-start; padding: 13px 14px; font-size: .82rem; }
  .demo-app-stage { padding: 0; margin-inline: -14px; background: transparent; border-radius: 0; box-shadow: none; }
  .demo-app-stage::before, .demo-app-stage::after, .estimate-device__speaker { display: none; }
  .estimate-device { width: 100%; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .estimate-app { width: 100%; height: auto; min-height: 0; max-height: none; overflow: visible; border: 1px solid #e5e7eb; border-radius: 0; }
  .estimate-app__header { position: relative; }
  .estimate-app__body { min-height: 0; padding: 20px 14px 96px; }
  .estimate-item__details { padding-inline: 10px; }
  .estimate-variant { grid-template-columns: minmax(84px, 1fr) 52px auto 78px auto; gap: 4px; }
  .estimate-confirm-row__formula { justify-content: flex-start; }
  .estimate-confirm-row__price { width: 72px; }
  .estimate-confirm-row__quantity { width: 47px; }
  .estimate-confirm-row__total { width: 70px; }
  .estimate-document { padding: 20px 12px 18px; }
  .estimate-document__topline { margin: -20px -12px 16px; }
  .estimate-document__head h5 { font-size: 1.25rem; }
  .estimate-document__table { font-size: .5rem; }
  .estimate-app__nav { padding-bottom: max(11px, env(safe-area-inset-bottom)); }
  .demo-container > .contact-callout { margin-top: 34px; }
  .article-figure { padding: 14px; }
  .article-figure img { max-height: 220px; }
  .article-cta { padding: 24px 20px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; }
  .legal-table td { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mission video { display: none; }
}
