:root {
  --paper: #ffffff;
  --ink: #102338;
  --muted: #5f6f7f;
  --line: #dbe4e9;
  --brand: #0a2e50;
  --brand-2: #2165af;
  --accent: #d9ff55;
  --soft: #edf5fb;
  --soft-2: #f6f9fb;
  --mint: #dff4ef;
  --shadow-sm: 0 10px 30px rgba(16, 35, 56, 0.09);
  --shadow-lg: 0 32px 80px rgba(16, 35, 56, 0.16);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --max: 1240px;
}

.service-page {
  --brand: #083a36;
  --brand-2: #2d9f95;
  --accent: #d6f96d;
  --soft: #eaf7f4;
  --mint: #dff4ef;
}

* {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--brand);
  background: var(--accent);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
strong {
  text-wrap: balance;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(219, 228, 233, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 38px;
  max-width: 190px;
  object-fit: contain;
}

.brand-logo-service {
  height: 43px;
  max-width: 230px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  min-height: 44px;
  padding: 12px 19px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  transition: transform 180ms ease, background 180ms ease;
}

.site-nav .nav-cta:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  list-style: none;
  cursor: pointer;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav > div {
  position: absolute;
  top: 52px;
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.mobile-nav a {
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--soft);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  min-height: 720px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 78px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -22%;
  left: -24%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 17%, transparent), transparent 68%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -16%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--brand-2);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

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

.hero h1 {
  margin: 22px 0 24px;
  color: var(--brand);
  font-size: clamp(3rem, 5.3vw, 5.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  white-space: nowrap;
}

.hero h1 > span {
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.03em;
  bottom: 0.08em;
  left: -0.03em;
  height: 0.22em;
  border-radius: 999px;
  content: "";
  background: var(--accent);
}

.lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta-note {
  position: relative;
  max-width: 560px;
  margin: 14px 0 0;
  padding-left: 17px;
  color: #7a8996;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.65;
}

.cta-note::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 9px;
  height: 2px;
  content: "";
  background: var(--brand-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--brand);
  background: var(--accent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 40%, transparent);
}

.button-primary:hover {
  box-shadow: 0 18px 34px color-mix(in srgb, var(--accent) 52%, transparent);
}

.button-ghost {
  border-color: var(--line);
  background: #fff;
}

.button-ghost:hover {
  border-color: var(--brand-2);
}

.button-light {
  color: var(--brand);
  background: #fff;
}

.value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.value-pills li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-photo-panel {
  position: relative;
  min-height: 560px;
}

.hero-photo-panel::before {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 46%;
  height: 46%;
  border-radius: 50% 50% 14% 50%;
  content: "";
  background: var(--accent);
}

.hero-photo-panel > img {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 48% 48% 18px 48%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hero-float {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 37, 63, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-float span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-float strong {
  font-size: 0.94rem;
}

.hero-float-top {
  top: 52px;
  left: -34px;
}

.hero-float-bottom {
  right: -14px;
  bottom: 44px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto 100px;
  padding: 0 24px;
}

.signal-strip > div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip > div + div {
  border-left: 1px solid var(--line);
}

.signal-strip span {
  grid-row: span 2;
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.signal-strip strong {
  font-size: 0.95rem;
}

.signal-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.band {
  position: relative;
  width: 100%;
}

.band-inner,
.flow-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 112px 24px;
}

.band-ink {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--brand);
  background-size: 38px 38px;
}

.vision-layout {
  display: grid;
  grid-template-columns: 0.35fr 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-kicker.light {
  color: var(--accent);
}

.vision-layout h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.vision-copy {
  display: grid;
  gap: 18px;
}

.vision-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.content-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 116px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.split-heading h2 {
  margin: 16px 0 0;
  color: var(--brand);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.section-heading > p:not(.section-kicker),
.split-heading > p {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.section-heading.centered > p:not(.section-kicker) {
  margin-right: auto;
  margin-left: auto;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 72px;
  max-width: none;
}

.capability-section {
  padding-top: 132px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #fff, var(--soft-2));
}

.capability-grid span,
.service-entry-copy > span {
  color: var(--brand-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.capability-grid h3 {
  margin: 18px 0 12px;
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1.45;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-catalog {
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.product-catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 24px;
}

.product-catalog-heading .section-kicker {
  margin-bottom: 14px;
}

.product-catalog-heading h3 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.product-catalog-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 24px;
}

.service-entry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: center;
  gap: 38px;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fff, var(--soft));
}

.service-entry-copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.service-entry-copy h4 {
  margin: 0;
}

.service-entry-logo {
  display: block;
  width: auto;
  max-width: min(310px, 100%);
  height: 82px;
  margin: 2px 0 4px;
  object-fit: contain;
  object-position: left center;
}

.service-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.service-entry .text-link {
  white-space: nowrap;
}

.service-entry-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 56, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.service-entry-preview > img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 300ms ease;
}

.service-entry-preview:hover > img {
  transform: scale(1.012);
}

.micro-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.micro-list li {
  position: relative;
  padding-left: 27px;
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-weight: 900;
}

.text-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.image-shell {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 56, 0.1);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.image-shell img {
  transition: transform 300ms ease;
}

a.image-shell:hover img {
  transform: scale(1.012);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fa;
}

.window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccd5da;
}

.window-bar i:first-child {
  background: #ff7f6f;
}

.window-bar i:nth-child(2) {
  background: #ffc95a;
}

.window-bar i:nth-child(3) {
  background: #67cf83;
}

.window-bar span {
  margin-left: 7px;
  color: #80909e;
  font-size: 0.66rem;
  font-weight: 700;
}

.zoom-hint,
.image-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 34, 52, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.persona-grid article {
  padding: 44px 36px;
}

.persona-grid article + article {
  border-left: 1px solid var(--line);
}

.persona-grid span,
.problem-grid span {
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.persona-grid h3,
.problem-grid h3,
.decision-grid h3 {
  margin: 18px 0 12px;
  color: var(--brand);
  font-size: 1.3rem;
}

.persona-grid p,
.problem-grid p,
.decision-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.band-mint {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.8), transparent 22%),
    var(--mint);
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.onboarding-steps li {
  padding: 30px;
  border: 1px solid rgba(16, 35, 56, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.onboarding-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--accent);
  font-weight: 900;
}

.onboarding-steps strong {
  display: block;
  color: var(--brand);
  font-size: 1.08rem;
}

.onboarding-steps p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 54px 26px 0;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--brand-2);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  margin: -5px 48px 26px 0;
  color: var(--muted);
  line-height: 1.85;
}

.final-cta,
.pricing-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 72px;
  max-width: calc(var(--max) - 48px);
  margin: 0 auto 64px;
  padding: 72px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, color-mix(in srgb, var(--brand-2) 75%, transparent), transparent 34%),
    var(--brand);
}

.final-cta h2,
.pricing-block h2 {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.final-cta > div:last-child,
.pricing-block > div:last-child {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.contact-email {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.contact-note {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  font-weight: 700;
}

.final-cta p,
.pricing-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  grid-template-areas:
    "brand links"
    "brand company";
  align-items: start;
  gap: 20px 64px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand {
  display: grid;
  grid-area: brand;
  justify-items: start;
  gap: 16px;
}

.site-footer img {
  width: auto;
  height: 30px;
  max-width: 160px;
  object-fit: contain;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-area: links;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: start;
  gap: 28px 36px;
  width: 100%;
}

.footer-links a {
  color: var(--brand-2);
  font-weight: 800;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-link-group > p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-company {
  grid-area: company;
  justify-self: end;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Company profile */
.company-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 14%, rgba(207, 255, 72, 0.16), transparent 28%),
    linear-gradient(145deg, #fff, #f7faf8 76%);
}

.company-main {
  max-width: 1120px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 116px 24px 104px;
}

.company-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding: 0 8px 44px;
  border-bottom: 1px solid var(--line);
}

.company-intro h1 {
  margin: 14px 0 0;
  color: var(--brand);
  font-size: clamp(3.6rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.company-intro > p {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.company-profile {
  margin-top: 28px;
  padding: 0 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(13, 48, 71, 0.06);
}

.company-profile dl {
  margin: 0;
}

.company-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
}

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

.company-row dt {
  color: #8292a1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.company-row dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 800;
  line-height: 1.75;
}

.company-roman {
  display: inline-block;
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.74em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.company-contact-link {
  color: var(--brand-2);
  text-decoration: underline;
  text-decoration-color: rgba(33, 101, 175, 0.28);
  text-underline-offset: 5px;
}

.company-contact-link:hover {
  text-decoration-color: currentColor;
}

/* Privacy policy */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 8%, rgba(45, 159, 149, 0.1), transparent 25%),
    #fff;
}

.legal-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 112px 24px 104px;
}

.legal-intro {
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.legal-intro h1 {
  margin: 16px 0 22px;
  color: var(--brand);
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.legal-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.legal-content {
  margin-top: 34px;
}

.legal-lead {
  max-width: 820px;
  margin: 0 0 54px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 2;
}

.legal-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 52px;
  padding: 32px 8px;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0;
  color: var(--brand);
  font-size: 1rem;
  line-height: 1.6;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.legal-section ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-left: 1.25em;
  color: var(--muted);
  line-height: 1.8;
}

.legal-contact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-contact a {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-2);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.terms-preamble {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 0 54px;
}

.terms-preamble p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 2;
}

.terms-section > div {
  min-width: 0;
}

.terms-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 1.5em;
  color: var(--muted);
  line-height: 1.9;
}

.terms-list > li::marker {
  color: var(--brand-2);
  font-size: 0.8em;
  font-weight: 900;
}

.terms-list-inner {
  gap: 8px;
  margin-top: 12px;
  padding-left: 1.65em;
}

/* Service landing page */
.hero-service {
  grid-template-columns: minmax(0, 0.85fr) minmax(540px, 1.15fr);
}

.hero-service h1 {
  font-size: clamp(3rem, 4.7vw, 4.6rem);
}

.service-pills {
  gap: 7px;
}

.hero-app-showcase {
  position: relative;
  min-height: 520px;
  padding: 48px 34px 92px 8px;
}

.hero-app-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0 4% 0 8%;
  border-radius: 46% 12% 46% 16%;
  content: "";
  background: var(--soft);
}

.hero-app-window {
  position: relative;
  z-index: 1;
  width: 92%;
  border-radius: 20px;
  transform: rotate(1.2deg);
}

.hero-app-window img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.hero-excel-window {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: 12px;
  width: 53%;
  border-radius: 17px;
  transform: rotate(-1.7deg);
}

.hero-excel-window .window-bar {
  height: 32px;
}

.hero-excel-crop {
  overflow: hidden;
  aspect-ratio: 560 / 428;
  background: #fff;
}

.hero-excel-crop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-signal span {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.customer-issue-section {
  padding-top: 40px;
}

.operations-section {
  padding-top: 132px;
  padding-bottom: 132px;
}

.operations-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.operations-map::before {
  position: absolute;
  top: 48px;
  right: 5%;
  left: 5%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--line), var(--brand-2), var(--line));
}

.operation-card {
  position: relative;
  z-index: 1;
  min-height: 300px;
  padding: 26px 22px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(16, 35, 56, 0.06);
}

.operation-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.78rem;
  font-weight: 900;
}

.operation-card.is-current {
  border-color: color-mix(in srgb, var(--brand-2) 50%, var(--line));
  background: linear-gradient(150deg, #fff, var(--soft));
  transform: translateY(-8px);
}

.operation-card.is-current > span {
  color: var(--brand);
  background: var(--accent);
}

.operation-card small {
  display: block;
  color: var(--brand-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.operation-card h3 {
  margin: 10px 0 13px;
  color: var(--brand);
  font-size: 1.16rem;
  line-height: 1.45;
}

.operation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.operations-note {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 30px 32px;
  border-radius: var(--radius-md);
  background: var(--soft-2);
}

.operations-note strong {
  color: var(--brand);
  font-size: 1.05rem;
  line-height: 1.55;
}

.operations-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.operations-note .text-link {
  white-space: nowrap;
}

.approach-section {
  color: #fff;
  background:
    radial-gradient(circle at 82% 5%, rgba(33, 101, 175, 0.55), transparent 34%),
    linear-gradient(145deg, #0a2e50, #071d31 68%);
}

.approach-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 24px;
}

.approach-section .section-heading {
  margin: 0;
}

.approach-section .section-heading h2 {
  color: #fff;
}

.approach-section .section-heading > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.approach-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.approach-grid span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.approach-grid h3 {
  margin: 18px 0 12px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.approach-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.8;
}

.handoff-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: 132px;
}

.handoff-visual {
  position: relative;
}

.handoff-visual img {
  min-height: 560px;
  border-radius: 36px 36px 110px 36px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.handoff-visual > div {
  position: absolute;
  right: -28px;
  bottom: 34px;
  display: grid;
  gap: 8px;
  min-width: 270px;
  padding: 24px 26px;
  border-radius: 22px;
  color: #fff;
  background: rgba(7, 35, 59, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.handoff-visual span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  font-weight: 800;
}

.handoff-visual strong {
  font-size: 1.15rem;
  line-height: 1.5;
}

.handoff-copy h2 {
  margin: 16px 0 24px;
  color: var(--brand);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.handoff-copy > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.handoff-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.handoff-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.handoff-list strong {
  color: var(--brand);
}

.handoff-list span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

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

.problem-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.problem-grid article:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.flow-band {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0, rgba(45, 159, 149, 0.5), transparent 30%),
    var(--brand);
}

.flow-band .section-heading h2 {
  color: #fff;
}

.flow-band .section-heading > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}

.flow-track::before {
  position: absolute;
  top: 25px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.24);
}

.flow-track li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.flow-track span {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--brand);
  background: var(--accent);
  font-weight: 900;
}

.flow-track strong {
  font-size: 0.92rem;
}

.walkthrough {
  padding-top: 132px;
  padding-bottom: 132px;
}

.howto-heading {
  max-width: 820px;
  margin-bottom: 100px;
}

.walkthrough-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 64px;
}

.walkthrough-row + .walkthrough-row {
  margin-top: 120px;
}

.walkthrough-row.reverse {
  grid-template-columns: 1.28fr 0.72fr;
}

.walkthrough-row.reverse .walkthrough-copy {
  order: 2;
}

.walkthrough-row.reverse > .walkthrough-image,
.walkthrough-row.reverse > .judgment-gallery {
  order: 1;
}

.walkthrough-copy {
  position: relative;
}

.step-number {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.walkthrough-copy h3 {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.walkthrough-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.walkthrough-image img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 0;
}

.micro-list li {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.feature-note {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 17px 18px;
  border-left: 3px solid var(--brand-2);
  background: var(--soft);
}

.feature-note strong {
  color: var(--brand-2);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.feature-note span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.judgment-row {
  align-items: start;
}

.judgment-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.judgment-gallery .primary {
  grid-column: span 2;
}

.judgment-gallery img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.judgment-gallery .primary img {
  aspect-ratio: 5 / 2.75;
}

.legend-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.legend-inline span {
  position: relative;
  padding: 8px 12px 8px 29px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.legend-inline span::before {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  content: "";
  background: #727d89;
  transform: translateY(-50%);
}

.legend-inline .legend-stop::before {
  background: #a7abb0;
}

.legend-inline .legend-camera::before {
  background: #3b82f6;
}

.final-step {
  align-items: start;
}

.output-settings-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
}

.output-settings-grid img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.output-settings-grid a:first-child img {
  object-position: center;
}

.band-pale {
  background: var(--soft);
}

.output-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.output-card {
  display: grid;
  gap: 24px;
  overflow: hidden;
  padding: 28px 28px 0;
  border: 1px solid rgba(16, 35, 56, 0.09);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.output-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.output-card > div {
  display: grid;
  gap: 7px;
}

.output-card span {
  color: var(--brand-2);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.output-card strong {
  color: var(--brand);
  font-size: 1.2rem;
}

.output-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.output-card img {
  height: 390px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
  object-position: top left;
}

.decision-section {
  padding-top: 132px;
}

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

.decision-grid article {
  padding: 34px;
  border-top: 3px solid var(--brand-2);
  background: var(--soft-2);
}

.decision-grid > article > strong {
  color: var(--brand-2);
  font-size: 0.72rem;
}

.pricing-block {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.pricing-block h2 {
  margin-bottom: 14px;
}

.service-footer {
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
}

.service-footer img {
  height: 38px;
  max-width: 200px;
}

.service-footer a {
  color: var(--brand-2);
  font-weight: 800;
}

/* Editorial layouts keep the brand page from becoming a wall of cards. */
.brand-page .problem-grid,
.brand-page .capability-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.brand-page .problem-grid article,
.brand-page .capability-grid article {
  min-height: 0;
  padding: 30px 4px 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-page .problem-grid article:hover {
  box-shadow: none;
  transform: none;
}

.brand-page .problem-grid span,
.brand-page .capability-grid span,
.brand-page .approach-grid span {
  display: none;
}

.brand-page .problem-grid h3,
.brand-page .capability-grid h3 {
  margin: 0 0 10px;
}

.brand-page .approach-grid {
  gap: 0 44px;
}

.brand-page .approach-grid article {
  min-height: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.brand-page .approach-grid h3 {
  margin: 0 0 10px;
}

.brand-page .product-catalog {
  margin-top: 42px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual,
.hero-app-showcase {
  animation: reveal-up 650ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual,
.hero-app-showcase {
  animation-delay: 100ms;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .hero,
  .hero-service {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 38px;
  }

  .hero-photo-panel {
    min-height: 480px;
  }

  .vision-layout {
    grid-template-columns: 1fr 1fr;
  }

  .vision-layout > .section-kicker {
    grid-column: span 2;
  }

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

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

  .problem-grid.problem-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .operations-map::before {
    display: none;
  }

  .operation-card.is-current {
    transform: none;
  }

  .operations-note {
    grid-template-columns: 1fr 1fr;
  }

  .operations-note .text-link {
    grid-column: 1 / -1;
  }

  .approach-inner {
    gap: 42px;
  }

  .handoff-section {
    gap: 52px;
  }

  .onboarding-steps.onboarding-steps-4 {
    grid-template-columns: 1fr 1fr;
  }

  .walkthrough-row,
  .walkthrough-row.reverse {
    gap: 38px;
  }

  .output-settings-grid {
    grid-template-columns: 1fr;
  }

  .output-settings-grid img {
    min-height: 0;
  }
}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 72px;
  }

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

  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .brand-logo {
    height: 32px;
    max-width: 160px;
  }

  .brand-logo-service {
    height: 36px;
    max-width: 185px;
  }

  .hero,
  .hero-service {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 10vw, 4.5rem);
  }

  .hero-photo-panel {
    min-height: 520px;
    margin: 12px 22px 0;
  }

  .hero-app-showcase {
    margin-top: 10px;
    padding-right: 28px;
    padding-left: 0;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip > div + div {
    border-top: 0;
    border-left: 0;
  }

  .vision-layout,
  .split-heading,
  .product-catalog-heading,
  .faq-section,
  .final-cta,
  .pricing-block {
    grid-template-columns: 1fr;
  }

  .vision-layout > .section-kicker {
    grid-column: auto;
  }

  .persona-grid,
  .onboarding-steps,
  .decision-grid,
  .output-showcase {
    grid-template-columns: 1fr;
  }

  .onboarding-steps.onboarding-steps-4 {
    grid-template-columns: 1fr 1fr;
  }

  .operations-map {
    grid-template-columns: 1fr 1fr;
  }

  .operations-note,
  .approach-inner,
  .handoff-section {
    grid-template-columns: 1fr;
  }

  .service-entry {
    grid-template-columns: 1fr;
  }

  .approach-inner {
    gap: 54px;
  }

  .handoff-visual {
    max-width: 680px;
  }

  .handoff-visual > div {
    right: 24px;
  }

  .persona-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split-heading {
    gap: 14px;
  }

  .product-catalog-heading {
    gap: 16px;
  }

  .flow-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-track::before {
    top: 24px;
    bottom: 24px;
    left: 25px;
    width: 1px;
    height: auto;
  }

  .flow-track li {
    grid-template-columns: 52px 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .walkthrough-row,
  .walkthrough-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .walkthrough-row.reverse .walkthrough-copy,
  .walkthrough-row.reverse > .walkthrough-image,
  .walkthrough-row.reverse > .judgment-gallery {
    order: initial;
  }

  .walkthrough-row + .walkthrough-row {
    margin-top: 92px;
  }

  .judgment-gallery .primary {
    grid-column: span 2;
  }

  .final-cta,
  .pricing-block {
    gap: 30px;
    padding: 48px;
  }

  .site-footer,
  .service-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "company";
    gap: 28px;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
    padding-top: 0;
  }

  .footer-company {
    justify-self: start;
  }

  .company-main {
    padding-top: 88px;
  }

  .legal-main {
    padding-top: 88px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .company-row {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 560px) {
  :root {
    --radius-md: 18px;
    --radius-lg: 26px;
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-logo-service {
    max-width: 170px;
  }

  .hero {
    gap: 42px;
    padding: 58px 18px 56px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    letter-spacing: -0.07em;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero h1 > span {
    white-space: normal;
  }

  .brand-page .hero h1 {
    font-size: clamp(2rem, 10.2vw, 2.8rem);
  }

  .brand-page .hero h1 br {
    display: block;
  }

  .brand-page .hero h1 > span,
  .brand-page .hero h1 em {
    white-space: nowrap;
  }

  .service-page .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .service-page .hero h1 br {
    display: block;
  }

  .service-page .hero h1 > span,
  .service-page .hero h1 em {
    white-space: nowrap;
  }

  .lead {
    line-height: 1.8;
  }

  .cta-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .value-pills {
    gap: 6px;
  }

  .value-pills li {
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .hero-photo-panel {
    min-height: 370px;
    margin: 0 10px;
  }

  .hero-float {
    padding: 12px 14px;
  }

  .hero-float-top {
    top: 22px;
    left: -12px;
  }

  .hero-float-bottom {
    right: -10px;
    bottom: 22px;
  }

  .hero-app-showcase {
    min-height: 0;
    padding: 42px 0 0;
  }

  .hero-app-window {
    width: 100%;
  }

  .hero-excel-window {
    position: relative;
    right: auto;
    bottom: auto;
    width: 72%;
    margin: -42px 0 0 auto;
    transform: rotate(-1.2deg);
  }

  .hero-excel-window .window-bar {
    height: 29px;
  }

  .signal-strip {
    margin-bottom: 70px;
    padding: 0 18px;
  }

  .signal-strip > div {
    padding: 22px 12px;
  }

  .band-inner,
  .flow-inner,
  .content-section {
    padding: 82px 18px;
  }

  .vision-layout {
    gap: 28px;
  }

  .vision-layout h2,
  .section-heading h2,
  .split-heading h2,
  .final-cta h2,
  .pricing-block h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

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

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

  .brand-page .problem-grid,
  .brand-page .capability-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .capability-grid article {
    min-height: 0;
    padding: 26px;
  }

  .service-entry {
    align-items: flex-start;
    gap: 22px;
    padding: 24px;
  }

  .service-entry-logo {
    max-width: 260px;
    height: 66px;
  }

  .service-entry .text-link {
    white-space: normal;
  }

  .window-bar {
    height: 32px;
  }

  .zoom-hint {
    right: 8px;
    bottom: 8px;
  }

  .persona-grid article {
    padding: 32px 24px;
  }

  .onboarding-steps li,
  .problem-grid article,
  .decision-grid article {
    padding: 26px;
  }

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

  .problem-grid.problem-grid-3 {
    grid-template-columns: 1fr;
  }

  .operations-section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .operations-map {
    grid-template-columns: 1fr;
  }

  .operation-card {
    min-height: 0;
    padding: 24px;
  }

  .operation-card > span {
    margin-bottom: 22px;
  }

  .operations-note {
    gap: 18px;
    padding: 24px;
  }

  .operations-note .text-link {
    white-space: normal;
  }

  .approach-inner {
    padding: 88px 18px;
  }

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

  .approach-grid article {
    min-height: 0;
    padding: 26px;
  }

  .handoff-section {
    padding-top: 44px;
    padding-bottom: 92px;
  }

  .handoff-visual img {
    min-height: 410px;
    border-radius: 24px 24px 70px 24px;
  }

  .handoff-visual > div {
    right: 14px;
    bottom: 18px;
    left: 14px;
    min-width: 0;
    padding: 20px;
  }

  .handoff-copy h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .handoff-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .onboarding-steps.onboarding-steps-4 {
    grid-template-columns: 1fr;
  }

  .howto-heading {
    margin-bottom: 70px;
  }

  .walkthrough-row + .walkthrough-row {
    margin-top: 78px;
  }

  .walkthrough-copy h3 {
    font-size: 1.85rem;
  }

  .walkthrough-image,
  .image-shell {
    border-radius: 14px;
  }

  .judgment-gallery {
    grid-template-columns: 1fr;
  }

  .judgment-gallery .primary {
    grid-column: auto;
  }

  .judgment-gallery img,
  .judgment-gallery .primary img {
    aspect-ratio: 4 / 3;
  }

  .output-card {
    padding: 22px 18px 0;
  }

  .output-card img {
    height: 290px;
  }

  .faq-section {
    gap: 24px;
  }

  .faq-list summary {
    font-size: 0.96rem;
  }

  .final-cta,
  .pricing-block {
    margin: 0 14px 42px;
    padding: 38px 26px;
  }

  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .company-main {
    padding: 72px 18px 76px;
  }

  .company-intro {
    padding: 0 0 30px;
  }

  .company-intro h1 {
    font-size: clamp(3.1rem, 17vw, 4.4rem);
  }

  .company-intro > p {
    font-size: 1.08rem;
  }

  .company-profile {
    margin-top: 20px;
    padding: 0 22px;
    border-radius: 22px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .company-roman {
    display: block;
    margin-top: 2px;
    margin-left: 0;
  }

  .legal-main {
    padding: 72px 18px 76px;
  }

  .legal-intro {
    padding-bottom: 30px;
  }

  .legal-intro h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .legal-content {
    margin-top: 26px;
  }

  .legal-lead {
    margin-bottom: 40px;
    font-size: 0.96rem;
  }

  .legal-section {
    padding: 26px 0;
  }

  .legal-section h2 {
    font-size: 0.94rem;
  }

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

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

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