:root {
  --brand-ink: #06172f;
  --brand-navy: #071a33;
  --brand-blue: #245bff;
  --brand-violet: #6757ff;
  --brand-magenta: #d63fea;
  --brand-coral: #ff6b4a;
  --brand-sun: #ffd166;
  --bg-white: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-tint: #eef4ff;
  --text-main: #06172f;
  --text-muted: #5b6b80;
  --text-subtle: #7a8798;
  --border-soft: #dde6f2;
  --border-blue: #c9d8ff;
  --gradient-brand: linear-gradient(
    135deg,
    #071a33 0%,
    #245bff 28%,
    #6757ff 49%,
    #d63fea 68%,
    #ff6b4a 84%,
    #ffd166 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    #245bff 0%,
    #6757ff 35%,
    #d63fea 65%,
    #ffd166 100%
  );
  --shadow-soft: 0 18px 50px rgba(7, 26, 51, 0.10);
  --shadow-card: 0 12px 32px rgba(7, 26, 51, 0.08);
  --bg: var(--bg-white);
  --bg-alt: var(--bg-soft);
  --surface: var(--bg-white);
  --ink: var(--text-main);
  --ink-soft: var(--text-muted);
  --navy: var(--brand-navy);
  --navy-deep: var(--brand-ink);
  --blue: var(--brand-blue);
  --gold: var(--brand-coral);
  --line: var(--border-soft);
  --white: #ffffff;
  --shadow: var(--shadow-card);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max-width: 1200px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-white);
  color: var(--ink);
  font-family: var(--font);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

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

p,
h1,
h2,
h3,
dl,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -64px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: var(--white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 80px;
  border-bottom: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: paint;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 209, 102, 0.20), transparent 24%),
    radial-gradient(circle at 85% 35%, rgba(214, 63, 234, 0.12), transparent 26%),
    radial-gradient(circle at 20% 10%, rgba(36, 91, 255, 0.10), transparent 28%),
    #ffffff;
}

main {
  padding-top: 80px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 64px), var(--max-width));
  height: 100%;
  margin: 0 auto;
}

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

.brand-logo {
  display: block;
  width: 124px;
  height: auto;
  aspect-ratio: 929 / 300;
  flex: 0 0 auto;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.global-nav > a:not(.nav-cta) {
  transition: color 0.2s ease;
}

.global-nav > a:not(.nav-cta):hover {
  color: var(--brand-blue);
}

.nav-cta {
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  padding: 15px 24px;
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-cta:hover {
  background: #10264a;
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 72px;
  background: transparent;
}

.hero-video-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-tint);
}

.hero-video-layer::before,
.hero-video-layer::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-video-layer::before {
  display: none;
}

.hero-video-layer::after {
  display: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.02);
  opacity: 1;
  transform: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 0 60px;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 209, 102, 0.20), transparent 24%),
    radial-gradient(circle at 85% 35%, rgba(214, 63, 234, 0.12), transparent 26%),
    radial-gradient(circle at 20% 10%, rgba(36, 91, 255, 0.10), transparent 28%),
    rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.hero-panel::before {
  position: absolute;
  top: -64px;
  right: -180px;
  z-index: 0;
  width: min(68vw, 940px);
  height: 540px;
  background: url("data:image/svg+xml,%3Csvg width='980' height='560' viewBox='0 0 980 560' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='thread' x1='920' y1='0' x2='170' y2='548' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFD166'/%3E%3Cstop offset='.22' stop-color='%23FF9B3D'/%3E%3Cstop offset='.46' stop-color='%23FF6B4A'/%3E%3Cstop offset='.72' stop-color='%23E83F5B'/%3E%3Cstop offset='1' stop-color='%23D63FEA'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M966 4C856 78 826 150 728 210C604 286 528 264 424 346C324 425 274 488 132 552' stroke='url(%23thread)' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M984 82C864 138 792 158 690 246C594 330 492 322 376 404C286 468 226 508 54 558' stroke='url(%23thread)' stroke-width='1.9' stroke-linecap='round' opacity='.64'/%3E%3Cpath d='M918 20C796 112 774 210 650 264C548 309 472 360 366 430C270 494 188 526 0 558' stroke='url(%23thread)' stroke-width='1.25' stroke-linecap='round' opacity='.42'/%3E%3Cpath d='M820 0C754 86 714 152 612 210C510 268 452 324 350 378C238 438 160 462 22 494' stroke='url(%23thread)' stroke-width='.9' stroke-linecap='round' opacity='.30'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
  opacity: 0.56;
  pointer-events: none;
  transform: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  width: min(calc(100% - 120px), var(--max-width));
  margin: 0 auto;
  padding: 52px 0 56px;
}

.eyebrow {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(56px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.02em;
}

.hero-copy {
  max-width: 1080px;
  min-width: 0;
}

.hero-accent {
  background: linear-gradient(135deg, var(--brand-sun) 0%, var(--brand-coral) 42%, #e83f5b 68%, var(--brand-magenta) 100%);
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-ai {
  display: inline-block;
  margin-right: 0.04em;
  font-size: clamp(76px, 6.7vw, 98px);
  line-height: 0.9;
}

.hero-lead {
  max-width: 1080px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
  white-space: nowrap;
}

.mobile-only {
  display: none;
}

.desktop {
  display: inline;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  top: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
}

.scroll-cue::before,
.scroll-cue::after {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  content: "";
  grid-area: 1 / 1;
  opacity: 0.84;
  transform: rotate(45deg);
}

.scroll-cue::before {
  animation: scroll-cue-line-top 1.55s ease-in-out infinite;
  transform: translateY(-5px) rotate(45deg);
}

.scroll-cue::after {
  animation: scroll-cue-line-bottom 1.55s ease-in-out 0.18s infinite;
  transform: translateY(5px) rotate(45deg);
}

.scroll-cue span {
  display: none;
}

@keyframes scroll-cue-line-top {
  0%,
  100% {
    transform: translateY(-8px) rotate(45deg);
  }

  50% {
    transform: translateY(-1px) rotate(45deg);
  }
}

@keyframes scroll-cue-line-bottom {
  0%,
  100% {
    transform: translateY(2px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(45deg);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.18);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand-navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.18);
}

.button.primary:hover {
  background: #10264a;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-ink);
}

.button.secondary:hover {
  border-color: var(--border-blue);
}

.section {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 112px 0;
}

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

.hero ~ .section::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--bg-white);
  content: "";
}

.hero + .section {
  margin-top: 88px;
  padding-top: 112px;
}

.hero + .section::before {
  border-top-left-radius: 60px;
}

.cases {
  isolation: isolate;
}

.hero ~ .section.cases::before {
  z-index: -2;
  background: var(--bg-white);
}

.cases::after {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(128deg, transparent 0 44%, rgba(36, 91, 255, 0.10) 47%, rgba(36, 91, 255, 0.50) 51%, rgba(214, 63, 234, 0.54) 57%, rgba(255, 209, 102, 0.54) 63%, rgba(255, 107, 74, 0.44) 69%, rgba(255, 107, 74, 0.08) 74%, transparent 78% 100%),
    linear-gradient(128deg, transparent 0 54%, rgba(36, 91, 255, 0.08) 57%, rgba(36, 91, 255, 0.31) 61%, rgba(214, 63, 234, 0.34) 66%, rgba(255, 209, 102, 0.36) 71%, rgba(232, 63, 91, 0.30) 77%, rgba(232, 63, 91, 0.06) 82%, transparent 86% 100%),
    linear-gradient(128deg, transparent 0 33%, rgba(36, 91, 255, 0.06) 36%, rgba(36, 91, 255, 0.22) 41%, rgba(214, 63, 234, 0.26) 47%, rgba(255, 209, 102, 0.29) 54%, rgba(255, 107, 74, 0.23) 61%, rgba(255, 107, 74, 0.05) 67%, transparent 71% 100%);
  border-top-left-radius: 60px;
  content: "";
  pointer-events: none;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.quality-copy h2,
.security-copy h2 {
  margin-top: 22px;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.section-heading > p:not(.eyebrow),
.quality-copy > p:not(.eyebrow),
.security-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.case-card {
  position: relative;
  min-height: 318px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 24px 24px 27px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: var(--border-blue);
  outline: 0;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.case-label {
  position: relative;
  display: grid;
  gap: 5px;
  max-width: calc(100% - 56px);
  border-left: 3px solid var(--brand-blue);
  padding-left: 12px;
  color: var(--brand-ink);
  font-weight: 600;
  line-height: 1.35;
}

.case-date {
  color: var(--brand-blue);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.case-client {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.case-card h3 {
  margin: 44px 0 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.case-card p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.case-open {
  display: block;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-open-wrapper {
  position: relative;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.case-open svg {
  display: block;
  width: 20px;
  height: 20px;
}

.case-open path {
  fill: currentColor;
  transition:
    fill 0.2s ease,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-open,
.case-card:focus-visible .case-open {
  color: var(--brand-ink);
  transform: translate(1px, -1px);
}

.case-card:hover .case-open path:first-child,
.case-card:focus-visible .case-open path:first-child {
  transform: translate(1px, -1px);
}

.case-card:hover .case-open path:last-child,
.case-card:focus-visible .case-open path:last-child {
  transform: translate(-1px, 1px);
}

.case-dialog {
  width: min(calc(100% - 40px), 920px);
  max-height: min(88vh, 920px);
  margin: auto auto 0;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: transparent;
  padding: 0;
  color: var(--brand-ink);
}

.case-dialog[open] {
  animation: dialog-rise 0.86s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-dialog::backdrop {
  background: rgba(6, 23, 47, 0.44);
  backdrop-filter: blur(8px);
}

.case-dialog-panel {
  position: relative;
  max-height: min(88vh, 920px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border-soft);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 209, 102, 0.18), transparent 24%),
    radial-gradient(circle at 12% 0%, rgba(36, 91, 255, 0.10), transparent 28%),
    var(--bg-white);
  padding: 38px;
  box-shadow: 0 28px 80px rgba(7, 26, 51, 0.22);
}

.case-dialog-close {
  position: sticky;
  top: 24px;
  z-index: 2;
  display: block;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.case-dialog-close::before,
.case-dialog-close::after {
  position: absolute;
  left: 11px;
  top: 18px;
  width: 15px;
  height: 1.5px;
  background: var(--brand-ink);
  content: "";
}

.case-dialog-close::before {
  transform: rotate(45deg);
}

.case-dialog-close::after {
  transform: rotate(-45deg);
}

.case-dialog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-right: 54px;
  color: var(--text-muted);
  font-size: 12px;
}

.case-dialog-label {
  border-left: 3px solid var(--brand-blue);
  padding: 2px 0 2px 12px;
  color: var(--brand-ink);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.case-dialog h2 {
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.45;
}

.case-dialog-lead {
  max-width: 740px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 2;
}

.case-dialog-article {
  display: grid;
  gap: 42px;
  margin-top: 44px;
  padding-bottom: 6px;
}

.case-article-section {
  position: relative;
  padding: 0;
}

.case-article-section h3 {
  font-size: 21px;
  line-height: 1.6;
}

.case-article-section > p {
  max-width: 680px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
}

.case-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.case-workflow li {
  position: relative;
  display: grid;
  min-height: 84px;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px 16px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.case-workflow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 14px;
  height: 1px;
  background: var(--brand-blue);
  content: "";
}

@keyframes dialog-rise {
  from {
    opacity: 0;
    transform: translateY(74%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.capabilities {
  width: 100%;
  padding: 108px max(calc((100% - var(--max-width)) / 2), 32px);
  background-color: #06172f;
  background-image:
    radial-gradient(circle at 82% 6%, rgba(255, 209, 102, 0.16), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(36, 91, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #11233d 0%, #0b1b31 50%, #06172f 100%);
  color: var(--white);
}

.hero ~ .section.capabilities::before {
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 209, 102, 0.16), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(36, 91, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #11233d 0%, #0b1b31 50%, #06172f 100%);
}

.capabilities .eyebrow {
  color: var(--brand-sun);
}

.capabilities .section-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.capability-card {
  grid-column: span 2;
  min-height: 218px;
  border-radius: 4px;
  border: 1px solid rgba(218, 228, 242, 0.92);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 27px 25px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  color: var(--brand-ink);
}

.capability-card:nth-child(1),
.capability-card:nth-child(5) {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.capability-card:nth-child(2) {
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
}

.capability-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.capability-card:nth-child(4) {
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

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

.capability-card p {
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.capability-card h3 {
  margin-top: 20px;
  color: var(--brand-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
}

.capability-card span {
  display: block;
  margin-top: 22px;
  color: #52657b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.quality {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 96px;
  padding: 112px max(calc((100% - var(--max-width)) / 2), 32px);
  background: transparent;
  color: var(--brand-ink);
}

.quality::after {
  display: none;
}

.hero ~ .section.quality::before {
  inset: 0 0 0 calc(50% - 50vw);
  border-top-right-radius: 60px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 209, 102, 0.13), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(36, 91, 255, 0.07), transparent 28%),
    rgba(255, 255, 255, 0.94);
}

.quality-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 90px;
}

.quality .eyebrow {
  color: var(--brand-blue);
}

.quality-copy > p:not(.eyebrow) {
  color: var(--text-muted);
}

.quality-points {
  display: grid;
  gap: 14px;
}

.quality-point {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  padding: 25px 26px;
  box-shadow: 0 10px 28px rgba(7, 26, 51, 0.05);
}

.quality-point > span {
  background: var(--gradient-accent);
  background-clip: text;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quality-point h3 {
  font-size: 19px;
  font-weight: 600;
}

.quality-point p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

.security {
  width: 100%;
  padding: 100px max(calc((100% - var(--max-width)) / 2), 32px);
  background: var(--bg-soft);
}

.security-inner {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 84px;
  align-items: center;
}

.security-list {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.security-list li {
  position: relative;
  padding: 24px 28px 24px 62px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  line-height: 1.75;
}

.security-list li:last-child {
  border-bottom: 0;
}

.security-list li::before {
  position: absolute;
  left: 29px;
  top: 28px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gradient-accent);
  content: "";
}

.security-list li::after {
  position: absolute;
  left: 35px;
  top: 32px;
  width: 5px;
  height: 8px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  content: "";
  transform: rotate(42deg);
}

.company {
  padding-bottom: 126px;
}

.company-table {
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(7, 26, 51, 0.05);
}

.company-table div {
  display: grid;
  grid-template-columns: 250px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.8;
}

.company-table .company-row-director-first {
  border-bottom: 0;
}

.company-table dt {
  color: var(--ink-soft);
}

.company-table dd {
  color: var(--brand-ink);
}

.contact {
  background:
    radial-gradient(circle at 20% 20%, rgba(36, 91, 255, 0.22), transparent 30%),
    radial-gradient(circle at 82% 28%, rgba(255, 209, 102, 0.18), transparent 24%),
    var(--brand-navy);
  padding: 110px 32px;
  color: var(--white);
}

.contact-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: var(--brand-sun);
}

.contact h2 {
  margin-top: 24px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.contact p:not(.eyebrow) {
  margin-top: 24px;
  color: #d7e1ef;
  font-size: 15px;
  line-height: 2;
}

.contact-button {
  margin-top: 46px;
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  padding-right: 42px;
  padding-left: 42px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--brand-ink);
  color: var(--white);
  padding: 42px 32px 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  gap: 50px;
}

.footer-brand .brand-logo {
  opacity: 0.92;
}

.site-footer nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  color: #d7e1ef;
  font-size: 13px;
}

.copyright {
  color: #9fb0c5;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    display: none;
  }

  .hero-video-layer {
    background: url("/assets/manul-bg-poster.jpg?v=20260530-5") center / cover;
  }
}

@media (max-width: 1040px) {
  .quality-inner,
  .security-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .case-card:last-child {
    grid-column: span 2;
  }

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

  .capability-card,
  .capability-card:nth-child(4) {
    grid-column: auto;
  }

  .capability-card:last-child {
    grid-column: span 2;
  }
}

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

  .site-header {
    height: 70px;
  }

  main {
    padding-top: 70px;
  }

  .header-inner {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    padding: 12px 8px;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 1px;
    background: var(--ink);
  }

  .global-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 15px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .section {
    padding-top: 76px;
  }

  .hero + .section {
    padding-top: 44px;
  }

  .section {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .hero {
    padding-top: 0;
    padding-bottom: 64px;
  }

  .hero-panel {
    width: 100%;
    border-radius: 0 0 0 46px;
  }

  .hero-panel::before {
    top: -10px;
    right: -400px;
    width: 760px;
    height: 470px;
    opacity: 0.34;
    transform: none;
  }

  .scroll-cue {
    top: 22px;
    width: 40px;
    height: 40px;
  }

  .hero-inner {
    width: min(calc(100% - 80px), var(--max-width));
    padding: 50px 0 54px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 8.6vw, 58px);
    line-height: 1.18;
  }

  .hero-ai {
    font-size: clamp(56px, 12vw, 72px);
  }

  .hero-lead {
    white-space: normal;
  }

  .hero + .section {
    margin-top: 64px;
    padding-top: 88px;
  }

  .hero + .section::before {
    border-top-left-radius: 46px;
  }

  .cases::after {
    border-top-left-radius: 46px;
  }

  .capabilities,
  .quality,
  .security {
    padding-right: 20px;
    padding-left: 20px;
  }

  .quality {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    margin-left: 0;
  }

}

@media (max-width: 620px) {
  .hero {
    padding-top: 0;
    padding-bottom: 58px;
  }

  .hero-panel {
    width: 100%;
    border-radius: 0 0 0 34px;
  }

  .hero-panel::before {
    top: 4px;
    right: -430px;
    width: 680px;
    height: 420px;
    opacity: 0.24;
    transform: none;
  }

  .scroll-cue {
    top: 20px;
    width: 38px;
    height: 38px;
  }

  .hero-inner {
    width: min(calc(100% - 40px), var(--max-width));
    padding: 42px 0 44px;
  }

  .hero + .section {
    margin-top: 52px;
    padding-top: 82px;
  }

  .hero + .section::before {
    border-top-left-radius: 34px;
  }

  .cases::after {
    border-top-left-radius: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7.2vw, 29px);
    line-height: 1.35;
    letter-spacing: 0;
  }

  .hero-ai {
    font-size: clamp(38px, 10.5vw, 44px);
  }

  .hero-lead {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0;
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .mobile-only {
    display: inline;
  }

  .desktop {
    display: none;
  }

  .section-heading > p:not(.eyebrow),
  .case-card p,
  .quality-copy > p:not(.eyebrow),
  .quality-point p,
  .security-copy > p:not(.eyebrow),
  .security-list li,
  .contact p:not(.eyebrow) {
    word-break: break-all;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .case-card:last-child,
  .capability-card:last-child {
    grid-column: auto;
  }

  .case-card {
    min-height: 0;
  }

  .case-open {
    margin-top: 0;
  }

  .case-dialog {
    width: min(calc(100% - 24px), 920px);
  }

  .case-dialog-panel {
    border-radius: 4px 4px 0 0;
    padding: 30px 20px 22px;
  }

  .case-dialog-close {
    top: 18px;
  }

  .case-article-section {
    padding: 0;
  }

  .case-workflow {
    grid-template-columns: 1fr;
  }

  .case-workflow li {
    min-height: 0;
  }

  .case-workflow li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 20px;
    width: 1px;
    height: 14px;
  }

  .contact {
    padding-right: 20px;
    padding-left: 20px;
  }
}
