:root {
  --ink: #102445;
  --ink-deep: #09182f;
  --blue: #1b47a6;
  --blue-bright: #275fd1;
  --sky: #dce8ff;
  --paper: #ffffff;
  --mist: #f3f6fa;
  --mist-blue: #edf3ff;
  --line: #d7dee9;
  --muted: #5d6879;
  --green: #1a7164;
  --sand: #d8a54b;
  --shadow: 0 20px 60px rgba(16, 36, 69, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100vw - 40px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.035em; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 222, 233, 0.7);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.brand-mark span { font-size: 15px; font-weight: 800; line-height: 1; transform: rotate(-45deg); }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 15px; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.global-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.global-nav a:not(.nav-cta) { position: relative; }
.global-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.global-nav a:hover::after, .global-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 20px; color: #fff; background: var(--ink); border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; background: transparent; border: 0; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s ease; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(39, 95, 209, 0.14), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f7f9fd 65%, #edf3ff 100%);
}
.hero::before {
  position: absolute;
  z-index: -1;
  right: -180px;
  bottom: -260px;
  width: 720px;
  height: 720px;
  content: "";
  border: 1px solid rgba(27, 71, 166, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(27,71,166,.035), 0 0 0 160px rgba(27,71,166,.02);
}
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .4;
  background-image: linear-gradient(rgba(16,36,69,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16,36,69,.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}
.hero-layout {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
  padding-block: 84px 94px;
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 1px; background: currentColor; }
.hero h1 { margin-bottom: 20px; color: var(--ink-deep); font-size: clamp(42px, 5.25vw, 72px); font-weight: 800; }
.hero-line { display: block; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 31px); font-weight: 800; letter-spacing: -.025em; }
.hero-body { max-width: 670px; margin-bottom: 32px; color: #445064; font-size: 17px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 15px 32px rgba(27,71,166,.24); }
.button-primary:hover { background: var(--blue-bright); box-shadow: 0 19px 36px rgba(27,71,166,.3); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; border-bottom: 1px solid var(--line); }
.text-link span { color: var(--blue); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.hero-panel { position: relative; padding: 34px; color: #fff; background: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.hero-panel::after { position: absolute; right: -90px; bottom: -90px; width: 230px; height: 230px; content: ""; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.03); }
.panel-label { position: relative; z-index: 1; margin-bottom: 20px; color: #9fbcfa; font: 700 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.area-index { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.area-index li { display: grid; grid-template-columns: 46px 1fr; align-items: start; gap: 12px; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.15); }
.area-index li > span { color: #86a9f0; font: 700 13px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.area-index strong, .area-index small { display: block; }
.area-index strong { margin-bottom: 5px; font-size: 17px; }
.area-index small { color: #b9c6da; font-size: 13px; line-height: 1.6; }
.panel-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; color: #91a2bc; border-top: 1px solid rgba(255,255,255,.15); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.trust-strip { color: #fff; background: var(--blue); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid p { display: flex; align-items: center; gap: 13px; margin: 0; padding: 22px 20px; border-left: 1px solid rgba(255,255,255,.15); font-size: 13px; font-weight: 700; }
.trust-grid p:last-child { border-right: 1px solid rgba(255,255,255,.15); }
.trust-grid span { color: #b8ceff; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.section { padding-block: 108px; }
.section-heading { margin-bottom: 48px; }
.section-heading h2, .bridge-copy h2, .pricing-layout h2, .contact-copy h2, .operator-copy h2, .faq-title h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 52px); }
.split-heading { display: grid; grid-template-columns: 1fr minmax(300px, .66fr); align-items: end; gap: 60px; }
.split-heading .eyebrow { margin-bottom: 14px; }
.split-heading > p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; display: flex; min-height: 590px; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; content: ""; background: var(--blue); }
.service-card-b::before { background: var(--green); }
.service-card-c::before { background: var(--sand); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-number { color: #a6b2c2; font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.service-tag { padding: 5px 10px; color: var(--blue); background: var(--mist-blue); border-radius: 999px; font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.service-card-b .service-tag { color: var(--green); background: #e9f5f2; }
.service-card-c .service-tag { color: #936917; background: #fbf2df; }
.service-card h3 { margin-bottom: 16px; font-size: clamp(24px, 2.2vw, 29px); }
.service-card > p { margin-bottom: 24px; color: var(--muted); }
.service-card h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; }
.check-list { margin: 0 0 26px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid #e7ebf1; font-size: 14px; line-height: 1.55; }
.check-list li::before { position: absolute; top: 14px; left: 2px; width: 7px; height: 7px; content: ""; border: 2px solid var(--blue); border-radius: 50%; }
.service-card-b .check-list li::before { border-color: var(--green); }
.service-card-c .check-list li::before { border-color: var(--sand); }
.service-card > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 19px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 800; }
.service-card > a span { color: var(--blue); font-size: 19px; transition: transform .2s ease; }
.service-card > a:hover span { transform: translateX(5px); }

.section-dark { position: relative; color: #fff; background: var(--ink-deep); overflow: hidden; }
.section-dark::before { position: absolute; top: -250px; right: -170px; width: 620px; height: 620px; content: ""; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.02); }
.outcome-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 130px); }
.eyebrow-light { color: #9db9f5; }
.outcome-intro h2 { margin-bottom: 26px; font-size: clamp(34px, 4vw, 54px); }
.outcome-intro > p:last-child { color: #aebbd0; }
.outcome-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.15); }
.outcome-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.outcome-list article > span { color: #7fa6f5; font: 700 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.outcome-list h3 { margin-bottom: 7px; font-size: 21px; }
.outcome-list p { margin: 0; color: #aebbd0; font-size: 14px; }

.case-section { background: var(--mist); }
.centered-heading { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { padding: 30px; background: #fff; border-radius: var(--radius-md); box-shadow: 0 12px 35px rgba(16,36,69,.07); }
.case-label { margin-bottom: 26px; color: var(--blue); font-size: 13px; font-weight: 800; }
.case-block { padding: 18px; background: var(--mist); border-radius: 12px; }
.case-block span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.case-block p { margin: 0; font-size: 14px; line-height: 1.7; }
.case-after { color: #fff; background: var(--ink); }
.case-after span { color: #9db9f5; }
.case-arrow { padding: 8px 0; color: var(--blue); text-align: center; font-weight: 900; }

.bridge-section { overflow: hidden; }
.bridge-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(60px, 9vw, 120px); }
.bridge-copy h2 { margin-bottom: 28px; }
.bridge-copy > p:not(.eyebrow) { color: var(--muted); }
.bridge-diagram { position: relative; display: grid; justify-items: center; gap: 0; padding: 24px; }
.diagram-node { position: relative; z-index: 1; width: min(300px, 90%); padding: 22px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 35px rgba(16,36,69,.08); }
.diagram-node span, .diagram-node small { display: block; }
.diagram-node span { font-size: 18px; font-weight: 800; }
.diagram-node small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.diagram-center { width: min(350px, 100%); padding: 28px 20px; color: #fff; background: var(--blue); border-color: var(--blue); }
.diagram-center span { font-size: 22px; }
.diagram-center small { color: #dce8ff; }
.diagram-line { position: relative; width: 1px; height: 68px; background: var(--line); }
.diagram-line::after { position: absolute; bottom: 0; left: 50%; width: 7px; height: 7px; content: ""; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateX(-50%) rotate(45deg); }
.diagram-line span { position: absolute; top: 50%; left: 16px; width: max-content; color: var(--muted); font-size: 11px; transform: translateY(-50%); }

.process-section { background: var(--mist-blue); }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 25px 0; border-top: 1px solid rgba(16,36,69,.14); }
.process-list li:last-child { border-bottom: 1px solid rgba(16,36,69,.14); }
.process-list > li > span { color: var(--blue); font: 700 14px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.process-list h3 { margin-bottom: 5px; font-size: 22px; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; }

.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope-card { padding: 34px; border-radius: var(--radius-md); }
.scope-in { color: #fff; background: var(--ink); }
.scope-out { background: var(--mist); border: 1px solid var(--line); }
.scope-label { margin-bottom: 20px; font-size: 20px; font-weight: 800; }
.scope-card ul { margin: 0; padding: 0; list-style: none; }
.scope-card li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid rgba(255,255,255,.15); }
.scope-out li { border-top-color: var(--line); }
.scope-card li::before { position: absolute; top: 19px; left: 3px; width: 10px; height: 6px; content: ""; border-bottom: 2px solid #84a9f3; border-left: 2px solid #84a9f3; transform: rotate(-45deg); }
.scope-out li::before { width: 11px; height: 2px; top: 23px; border: 0; background: #9ba6b6; transform: none; }
.scope-note { max-width: 900px; margin: 25px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

.pricing-section { color: #fff; background: var(--blue); }
.pricing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.pricing-layout .eyebrow { color: #c1d4ff; }
.pricing-copy > p { color: #dbe6ff; }
.pricing-copy ul { margin: 24px 0 30px; padding-left: 20px; }
.pricing-copy li { margin: 7px 0; }
.button-dark { color: #fff; background: var(--ink-deep); }

.operator-section { background: #fff; }
.operator-layout { display: grid; grid-template-columns: minmax(250px,.65fr) 1.35fr; align-items: center; gap: 80px; }
.operator-portrait { height: 520px; margin: 0; overflow: hidden; background: var(--mist); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.operator-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.operator-copy h2 { margin-bottom: 8px; }
.operator-role { margin-bottom: 26px; color: var(--blue); font-weight: 800; }
.operator-copy > p:not(.eyebrow):not(.operator-role) { color: var(--muted); }
.operator-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.operator-links a { font-weight: 800; border-bottom: 1px solid var(--line); }
.operator-links span { color: var(--blue); }

.faq-section { background: var(--mist); }
.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 50px 23px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 20px; right: 5px; content: "+"; color: var(--blue); font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding: 0 40px 24px 0; color: var(--muted); }

.contact-section { padding-block: 110px; color: #fff; background: var(--ink-deep); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(55px, 8vw, 110px); }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy > p:not(.eyebrow) { color: #aebbd0; }
.contact-points { margin-top: 35px; }
.contact-points p { display: flex; align-items: center; gap: 16px; margin: 0; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.15); color: #d9e2ef; font-size: 14px; }
.contact-points p:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-points span { color: #7fa6f5; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.contact-form { padding: 36px; color: var(--ink); background: #fff; border-radius: var(--radius-lg); }
.form-row.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label:not(.consent):not(.honeypot) { display: grid; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 800; }
.contact-form label > span:not(.consent span) { margin-left: 6px; color: var(--blue); font-size: 10px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; color: var(--ink); background: #f8fafc; border: 1px solid #ccd5e2; border-radius: 8px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.contact-form input, .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { min-height: 150px; padding: 13px 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,95,209,.13); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.honeypot { position: absolute !important; left: -10000px !important; }
.button-submit { width: 100%; color: #fff; background: var(--blue); }
.button-submit:disabled { opacity: .55; cursor: wait; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-status { margin-top: 14px; padding: 0; font-size: 13px; font-weight: 700; }
.form-status.is-success, .form-status.is-error { padding: 12px 14px; border-radius: 7px; }
.form-status.is-success { color: #0f554b; background: #e7f5f2; }
.form-status.is-error { color: #8f2929; background: #fdecec; }

.site-footer { padding: 72px 0 24px; color: #c4cfde; background: #071329; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .8fr; gap: 70px; padding-bottom: 50px; }
.brand-footer { color: #fff; }
.brand-footer .brand-copy small { color: #93a4bd; }
.footer-grid > div:first-child > p { max-width: 520px; margin: 25px 0 0; color: #8fa0b9; font-size: 12px; }
.footer-links { display: grid; align-content: start; gap: 11px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #7f91ab; font-size: 11px; }
.footer-bottom p { margin: 0; }

/* Legal pages */
.legal-page { background: var(--mist); }
.legal-header { background: var(--ink-deep); }
.legal-header .brand { color: #fff; }
.legal-header .brand-copy small { color: #9aaac1; }
.legal-header a.back-link { color: #c9d5e6; font-size: 13px; }
.legal-main { padding-block: 80px 110px; }
.legal-document { max-width: 920px; margin: 0 auto; padding: 54px clamp(24px,5vw,70px); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 16px 50px rgba(16,36,69,.08); }
.legal-document h1 { margin-bottom: 8px; font-size: clamp(34px,4vw,48px); }
.legal-date { margin-bottom: 45px; color: var(--muted); font-size: 12px; }
.legal-document h2 { margin: 42px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 22px; }
.legal-document h3 { margin: 24px 0 8px; font-size: 17px; }
.legal-document p, .legal-document li { color: #455166; }
.legal-document ul { padding-left: 1.25em; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 15px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { width: 190px; color: var(--ink); background: var(--mist); font-size: 13px; }
.legal-table td { color: #455166; font-size: 14px; }
.legal-note { padding: 18px 20px; background: var(--mist-blue); border-left: 3px solid var(--blue); }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 30px; color: #fff; background: var(--ink-deep); text-align: center; }
.not-found-inner { max-width: 640px; }
.not-found-code { margin-bottom: 4px; color: #7fa6f5; font: 800 clamp(70px,15vw,150px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.not-found h1 { font-size: clamp(28px,5vw,45px); }
.not-found p { color: #aebbd0; }

@media (max-width: 1020px) {
  .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .hero-panel { max-width: 600px; }
  .service-grid, .case-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .outcome-layout, .bridge-layout, .pricing-layout, .operator-layout, .contact-layout { grid-template-columns: 1fr; }
  .outcome-intro { max-width: 700px; }
  .bridge-copy { max-width: 760px; }
  .operator-portrait { width: min(100%, 520px); height: 620px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr .9fr; gap: 35px; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 720px); }
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .menu-button { display: block; }
  .global-nav {
    position: fixed;
    z-index: -1;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 22px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(16,36,69,.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .2s ease;
  }
  .global-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .global-nav .nav-cta { margin-top: 14px; padding: 13px 18px; text-align: center; border: 0; }
  .nav-open .global-nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav-open .menu-button span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-button span:nth-of-type(3) { opacity: 0; }
  .nav-open .menu-button span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero-layout { gap: 45px; padding-block: 66px 74px; }
  .hero h1 br { display: none; }
  .hero-panel { padding: 27px 23px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid p:nth-child(3) { border-top: 1px solid rgba(255,255,255,.15); }
  .trust-grid p:nth-child(4) { border-top: 1px solid rgba(255,255,255,.15); border-right: 1px solid rgba(255,255,255,.15); }
  .section, .contact-section { padding-block: 78px; }
  .split-heading { grid-template-columns: 1fr; gap: 18px; }
  .scope-grid { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 48px 1fr; gap: 12px; }
  .operator-layout { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .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 { border-top: 0; }
}

@media (max-width: 520px) {
  .brand-copy strong { font-size: 13px; }
  .brand-mark { width: 34px; }
  .hero h1 { font-size: 36px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { width: 100%; justify-content: center; }
  .hero-panel { border-radius: 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid p { border-top: 1px solid rgba(255,255,255,.15); border-right: 1px solid rgba(255,255,255,.15); }
  .section-heading h2, .bridge-copy h2, .pricing-layout h2, .contact-copy h2, .operator-copy h2, .faq-title h2 { font-size: 34px; }
  .service-card, .case-card, .scope-card, .contact-form { padding: 24px 20px; }
  .form-row.two-columns { grid-template-columns: 1fr; gap: 0; }
  .operator-portrait { height: 520px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-main { padding-block: 30px 60px; }
  .legal-document { padding: 34px 20px; border-radius: 18px; }
}

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