:root {
  color-scheme: light;
  --ink: #182033;
  --muted: #667085;
  --line: #dbe3ef;
  --paper: #f8fafc;
  --white: #ffffff;
  --navy: #111827;
  --teal: #0f766e;
  --blue: #2563eb;
  --violet: #6d28d9;
  --rose: #be123c;
  --amber: #b45309;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 227, 239, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 15px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: #344054;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(84vh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 14, 29, 0.92), rgba(9, 14, 29, 0.62) 54%, rgba(9, 14, 29, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 92px clamp(18px, 4vw, 56px) 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a7f3d0;
}

.quiet-credit {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.hero-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  align-items: center;
  gap: 24px;
  max-width: 1040px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-flow li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
}

.hero-flow li:not(:last-child)::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-left: 4px;
  background: linear-gradient(90deg, rgba(167, 243, 208, 0.72), rgba(167, 243, 208, 0));
}

.hero-flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(167, 243, 208, 0.78);
  border-right: 1px solid rgba(167, 243, 208, 0.78);
  transform: translateY(-50%) rotate(45deg);
}

.hero-flow span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #a7f3d0;
  border: 1px solid rgba(167, 243, 208, 0.42);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.hero-flow strong {
  white-space: nowrap;
}

.hero-lead {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.8;
}

.hero-statement {
  display: inline-flex;
  margin: 22px 0 0;
  padding: 8px 12px;
  color: #a7f3d0;
  border-left: 3px solid #5eead4;
  background: rgba(15, 118, 110, 0.18);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 900;
  line-height: 1.6;
}

.section {
  padding: 88px clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(100%, 980px);
  margin: 0 auto 36px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.intro-grid,
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.intro-panel,
.domain-grid article,
.case-card,
.theme-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.intro-panel {
  padding: 28px;
}

.intro-panel p,
.domain-grid p,
.case-card p,
.theme-list p {
  color: var(--muted);
  line-height: 1.85;
}

.capabilities {
  background: var(--white);
}

.signature-workflows {
  background: #f5fbfa;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.signature-card {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.signature-number {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.signature-card h3 {
  font-size: 24px;
}

.signature-lead {
  margin: 16px 0 24px;
  color: #344054;
  font-weight: 800;
  line-height: 1.7;
}

.signature-points {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
}

.signature-points div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.signature-points dt {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signature-points dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.theme-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.theme-list article {
  position: relative;
  padding: 28px;
}

.cap-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.theme-points {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.theme-points li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.6;
}

.theme-points li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.before-after {
  background: #eef6f7;
}

.cases {
  background: var(--white);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1060px);
  margin: 0 auto;
}

.ba-column {
  padding: 30px;
  border: 1px solid #ccd8e5;
  border-radius: 8px;
  background: #ffffff;
}

.ba-column.after {
  border-color: rgba(15, 118, 110, 0.36);
  background: #f0fdfa;
}

.ba-column ul,
.tool-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.ba-column li {
  position: relative;
  padding-left: 22px;
  margin: 12px 0;
  color: #344054;
  line-height: 1.7;
}

.ba-column li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 1120px);
  margin: 0 auto 22px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 13px;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.case-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
}

.case-card.is-featured {
  border-color: rgba(15, 118, 110, 0.42);
  background: #f7fffd;
}

.case-card.is-hidden {
  display: none;
}

.case-kicker {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
}

.case-problem {
  color: #475467;
  font-weight: 700;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.tool-list li {
  padding: 6px 9px;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
}

.automation-db {
  background: #f6f8fb;
}

.record-layout {
  display: grid;
  gap: 28px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.record-group {
  display: grid;
  gap: 14px;
}

.record-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.record-group-heading span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.record-group-heading h3 {
  font-size: 24px;
}

.qa-note,
.planned-disclaimer {
  width: min(100%, 1120px);
  margin: -16px auto 28px;
  padding: 14px 16px;
  color: #344054;
  border: 1px solid rgba(180, 83, 9, 0.28);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: #fffdf7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.section-heading .qa-note {
  max-width: 100%;
  margin: 18px 0 0;
}

.planned-disclaimer {
  margin: 0;
}

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

.record-card,
.plan-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.record-card {
  border-top: 4px solid var(--teal);
}

.plan-card {
  border-top: 4px solid var(--amber);
  background: #fffdf7;
}

.status-badge {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.status-badge.implemented {
  color: #065f46;
  border: 1px solid rgba(15, 118, 110, 0.28);
  background: #dffaf3;
}

.status-badge.planned-status {
  color: #92400e;
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: #fef3c7;
}

.record-meta {
  margin: 0 0 12px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.record-card h4,
.plan-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.record-card p:not(.record-meta),
.plan-card p:not(.record-meta) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.record-card strong,
.plan-card strong {
  color: var(--ink);
  font-weight: 900;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1120px);
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.process-list li {
  min-height: 210px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.process-list span {
  display: block;
  margin-bottom: 38px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  font-size: 18px;
}

.process-list p {
  color: var(--muted);
  line-height: 1.7;
}

.domain-grid article {
  padding: 24px;
}

.next-action {
  background: #e9f2f3;
}

.next-action-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.next-action-panel h2 {
  max-width: 820px;
}

.next-action-panel p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

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

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-cta {
  color: var(--white);
  background: var(--teal);
}

.secondary-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.next-action-panel .safety-note {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .signature-grid,
  .intro-grid,
    .theme-list,
    .ba-grid,
    .case-grid,
    .process-list,
    .domain-grid {
    grid-template-columns: 1fr;
  }

  .hero-flow {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 460px;
  }

  .hero-flow li {
    width: fit-content;
  }

  .hero-flow li:not(:last-child)::after {
    position: absolute;
    top: 100%;
    left: 15px;
    width: 1px;
    height: 12px;
    margin: 0;
    background: linear-gradient(180deg, rgba(167, 243, 208, 0.72), rgba(167, 243, 208, 0));
  }

  .hero-flow li:not(:last-child)::before {
    top: calc(100% + 6px);
    right: auto;
    left: 12px;
    transform: rotate(135deg);
  }

  .record-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

  .process-list li {
    min-height: auto;
  }

  .process-list span {
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 38px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-flow {
    margin-top: 24px;
  }

  .hero-flow strong {
    white-space: normal;
  }

  .theme-list article {
    padding: 24px;
  }
}
