:root {
  --ink: #132033;
  --muted: #66758a;
  --line: #e3e9f1;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #05aee6;
  --blue-dark: #063069;
  --navy: #06122a;
  --cyan: #00c5ef;
  --shadow: 0 18px 48px rgba(6, 18, 42, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(6, 18, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue-dark));
  color: white;
  font-weight: 900;
}

.logo strong,
.logo small {
  display: block;
}

.logo strong {
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.logo small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #3f5066;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  padding: 26px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(90deg, rgba(6, 18, 42, 0.98) 0%, rgba(6, 18, 42, 0.86) 42%, rgba(6, 18, 42, 0.08) 100%),
    url("https://images.unsplash.com/photo-1535016120720-40c646be5580?auto=format&fit=crop&w=2200&q=84");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(135deg, rgba(0, 197, 239, 0.28), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(0, 197, 239, 0.22), transparent 30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 98px 0 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker.light,
.hero .eyebrow {
  color: #49e0ff;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(0, 197, 239, 0.26);
}

.button.primary.inverse {
  background: #fff;
  color: var(--blue-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

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

.proof-section {
  padding: 72px 0 86px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.stats-panel {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.stats-panel div {
  padding: 28px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-panel div:last-child {
  border-bottom: 0;
}

.stats-panel strong {
  display: block;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.stats-panel span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  opacity: 0.88;
}

.section-copy h2,
.service-intro h2,
.workflow-heading h2,
.mission-grid h2,
.company-heading h2,
.contact-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.section-copy p,
.service-intro p,
.workflow-list p,
.mission-points p,
.contact-grid p,
.site-footer p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.section-copy p {
  margin: 22px 0 0;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  border: 1px solid var(--blue);
  color: var(--blue-dark);
  padding: 12px 34px;
  font-weight: 800;
}

.service-section {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 76px 0 96px;
}

.service-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 280px;
  clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
  background: #fff;
}

.service-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.service-intro h2,
.service-intro p {
  color: var(--navy);
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-grid article {
  min-height: 290px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 34px;
}

.service-grid span,
.mission-points span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-grid h3,
.workflow-list h3,
.mission-points h3 {
  margin: 26px 0 12px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

.workflow-section {
  padding: 92px 0;
}

.workflow-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

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

.workflow-list div {
  border-top: 4px solid var(--blue);
  padding-top: 24px;
}

.workflow-list strong {
  color: #c9d6e3;
  font-size: 56px;
  letter-spacing: -0.08em;
}

.workflow-list p {
  margin: 0;
}

.mission-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6, 18, 42, 0.96), rgba(6, 18, 42, 0.82)),
    url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2200&q=84");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 96px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 78px;
}

.mission-grid h2,
.contact-grid h2 {
  color: #fff;
}

.mission-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 44px;
}

.mission-points article:last-child {
  grid-column: span 2;
}

.mission-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.company-section {
  padding: 92px 0;
}

.company-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.company-table dt {
  color: var(--blue-dark);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: #42536a;
  line-height: 1.7;
}

.contact-band {
  background: var(--blue);
  padding: 68px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.contact-grid p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  background: #eef4f8;
  padding: 48px 0;
}

.footer-grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}

.site-footer strong {
  color: var(--navy);
  font-size: 18px;
}

.site-footer p {
  max-width: 360px;
  margin: 10px 0 0;
}

.site-footer span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 900px) {
  .site-header {
    height: auto;
    flex-direction: column;
    align-items: start;
    padding: 18px 24px;
  }

  .primary-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .primary-nav a {
    padding: 6px 0;
  }

  .primary-nav a::after {
    bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(6, 18, 42, 0.96) 0%, rgba(6, 18, 42, 0.78) 62%, rgba(6, 18, 42, 0.72) 100%),
      url("https://images.unsplash.com/photo-1535016120720-40c646be5580?auto=format&fit=crop&w=1400&q=84");
  }

  .hero-inner {
    padding: 74px 0 78px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .proof-grid,
  .service-intro,
  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .stats-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-panel div {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
    padding: 22px;
  }

  .stats-panel div:last-child {
    border-right: 0;
  }

  .service-section::before {
    height: 190px;
  }

  .service-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .mission-points,
  .mission-points article:last-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .company-table div {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .section-shell,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }

  .logo {
    min-width: 0;
  }

  .hero-copy {
    font-size: 16px;
  }

  .primary-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    overflow: visible;
    white-space: normal;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-section,
  .workflow-section,
  .company-section {
    padding: 58px 0;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .stats-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .service-section,
  .mission-section {
    padding: 64px 0;
  }

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

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

  .footer-grid {
    display: grid;
  }

  .site-footer span {
    text-align: left;
  }
}
