/* Premium navy hero shared by the corporate home and system-development LP. */
:root {
  --hero-navy: #071a31;
  --hero-navy-soft: #0d294a;
  --hero-ink-light: #f6f3eb;
  --hero-copy-light: #c9d4df;
  --hero-gold: #c8a661;
  --hero-gold-soft: #e2cf9e;
}

.site-header {
  background: rgba(7, 26, 49, 0.94);
  border-bottom-color: rgba(200, 166, 97, 0.2);
  box-shadow: 0 8px 28px rgba(2, 12, 25, 0.12);
}

.site-header .logo-mark,
.site-header .logo-text,
.site-header .nav-main a {
  color: var(--hero-ink-light);
}

.site-header .logo-mark {
  color: var(--hero-gold-soft);
}

.site-header .nav-main a:hover {
  color: var(--hero-gold-soft);
}

.site-header .nav-toggle span {
  background: var(--hero-ink-light);
}

.hero {
  min-height: min(900px, 100svh);
  padding: 8.5rem 0 5rem;
  color: var(--hero-ink-light);
  background:
    radial-gradient(circle at 82% 18%, rgba(54, 101, 144, 0.25), transparent 34%),
    radial-gradient(circle at 62% 84%, rgba(200, 166, 97, 0.1), transparent 31%),
    linear-gradient(135deg, #06172d 0%, #0a2342 55%, #071a31 100%);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 540px;
  height: 540px;
  right: -180px;
  top: -180px;
  border: 1px solid rgba(200, 166, 97, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(200, 166, 97, 0.025), 0 0 0 140px rgba(200, 166, 97, 0.018);
}

.hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 166, 97, 0.65), transparent);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(3rem, 4vw, 4.5rem);
}

.hero-text {
  max-width: 590px;
  min-width: 0;
}

.hero-question {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(200, 166, 97, 0.48);
  border-radius: 999px;
  color: var(--hero-gold-soft);
  background: rgba(200, 166, 97, 0.06);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-label {
  margin-bottom: 1.5rem;
  color: var(--hero-gold);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
}

.hero-title {
  margin-bottom: 1.8rem;
  color: var(--hero-ink-light);
  font-size: clamp(2.55rem, 4.1vw, 3.55rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  color: var(--hero-copy-light);
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.035em;
}

.hero-cta {
  min-height: 58px;
  margin-top: 2rem;
  padding: 1rem 1.7rem;
  color: var(--hero-navy);
  background: var(--hero-ink-light);
  border: 1px solid var(--hero-ink-light);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  font-family: var(--font-sans-ja);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.hero-cta:hover {
  color: var(--hero-ink-light);
  background: transparent;
  border-color: var(--hero-gold);
  transform: translateY(-2px);
}

.hero-scroll span {
  color: rgba(246, 243, 235, 0.58);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 12% 5% -8% 15%;
  z-index: -1;
  background: rgba(22, 72, 112, 0.34);
  filter: blur(50px);
  border-radius: 50%;
}

.hero-app {
  overflow: hidden;
  color: #14263c;
  background: #f7f6f1;
  border: 1px solid rgba(226, 207, 158, 0.62);
  border-radius: 10px;
  box-shadow: 0 28px 72px rgba(0, 8, 20, 0.42);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
}

.hero-app-bar {
  min-height: 50px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #e9edf1;
  background: #0b213d;
  border-bottom: 1px solid rgba(200, 166, 97, 0.26);
}

.hero-app-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-family: var(--font-sans-en);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero-app-brand::before {
  content: '知';
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--hero-gold-soft);
  border: 1px solid rgba(200, 166, 97, 0.48);
  font-family: var(--font-serif-ja);
  font-size: 0.82rem;
}

.hero-app-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d7e2ec;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-app-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73b795;
  box-shadow: 0 0 0 4px rgba(115, 183, 149, 0.12);
}

.hero-app-body {
  padding: clamp(1.1rem, 2.2vw, 1.7rem);
}

.hero-app-kicker {
  margin-bottom: 0.35rem;
  color: #7f6a3d;
  font-family: var(--font-sans-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.hero-app-title {
  margin-bottom: 1.2rem;
  font-family: var(--font-sans-ja);
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero-stat {
  min-width: 0;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid #e4e1d9;
  border-radius: 6px;
}

.hero-stat span {
  display: block;
  overflow: hidden;
  margin-bottom: 0.28rem;
  color: #647287;
  font-size: 0.65rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-stat strong {
  color: #0b213d;
  font-family: var(--font-sans-en);
  font-size: 1.3rem;
  font-weight: 500;
}

.hero-app-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2dfd7;
  border-radius: 6px;
}

.hero-app-row {
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(74px, 0.65fr) minmax(62px, 0.55fr);
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid #ece9e2;
  font-size: 0.7rem;
}

.hero-app-row:first-child {
  border-top: 0;
  color: #657184;
  background: #f1f2f1;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.hero-app-row strong {
  min-width: 0;
  overflow: hidden;
  color: #172b43;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-status {
  justify-self: start;
  padding: 0.2rem 0.45rem;
  color: #715a2b;
  background: #f3e8c9;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-status.is-progress {
  color: #245272;
  background: #deebf3;
}

.hero-status.is-done {
  color: #35624d;
  background: #dfeee5;
}

.hero-owner {
  color: #647287;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 4.8vw, 3.4rem);
  }
}

@media (max-width: 768px) {
  .site-header .nav-main {
    background: rgba(7, 26, 49, 0.98);
    border-bottom: 1px solid rgba(200, 166, 97, 0.2);
  }

  .site-header .nav-main a {
    color: var(--hero-ink-light);
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 4.5rem;
  }

  .hero-container {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
    padding: 0 1.25rem;
    overflow: hidden;
  }

  .hero-text,
  .hero-visual,
  .hero-app {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-question {
    min-height: 27px;
    margin-bottom: 0.9rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero-label {
    margin-bottom: 1.15rem;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }

  .hero-title {
    margin-bottom: 1.35rem;
    font-size: clamp(2.05rem, 10.5vw, 2.75rem);
    line-height: 1.45;
    letter-spacing: 0.035em;
  }

  .hero-lead {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 0;
    color: var(--hero-copy-light);
    background: transparent;
    box-shadow: none;
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .hero-cta {
    width: 100%;
    min-height: 56px;
    margin-top: 1.6rem;
  }

  .hero-app {
    transform: none;
    border-radius: 8px;
  }

  .hero-app-bar {
    min-height: 46px;
    padding: 0 0.75rem;
  }

  .hero-app-brand {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .hero-app-live {
    font-size: 0.52rem;
  }

  .hero-stat-grid {
    gap: 0.45rem;
  }

  .hero-stat {
    padding: 0.65rem 0.55rem;
  }

  .hero-stat span {
    font-size: 0.56rem;
  }

  .hero-stat strong {
    font-size: 1.05rem;
  }

  .hero-app-row {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .hero-app-row > :last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-app,
  .hero-cta {
    transition: none;
    transform: none;
  }
}
