:root {
  --ink: #14202b;
  --ink-soft: #3a4a58;
  --paper: #ffffff;
  --paper-soft: #f6f8fa;
  --paper-mute: #eef2f5;
  --teal: #0f7f7a;
  --teal-deep: #0b5f5b;
  --teal-soft: #e6f5f4;
  --line: rgba(20, 32, 43, 0.08);
  --line-strong: rgba(20, 32, 43, 0.14);
  --text: #14202b;
  --text-muted: #5b6b78;
  --shadow: 0 18px 48px rgba(20, 32, 43, 0.08);
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", sans-serif;
  --radius: 16px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(15, 127, 122, 0.06), transparent 55%),
    radial-gradient(700px 420px at 0% 30%, rgba(20, 32, 43, 0.03), transparent 50%),
    var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 127, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 127, 122, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at top, black 10%, transparent 70%);
  opacity: 0.55;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 56px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), #169992);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px 8px 9px 14px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-full {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--teal-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 56px) clamp(28px, 5vh, 48px);
  overflow: hidden;
  background: var(--paper-soft);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.03);
  animation: heroDrift 28s ease-in-out infinite alternate;
  filter: saturate(0.55) brightness(1.35) contrast(0.92);
  opacity: 0.45;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, #ffffff 0%, #ffffff 46%, rgba(255, 255, 255, 0.92) 62%, rgba(255, 255, 255, 0.78) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(246, 248, 250, 0.72));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 127, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 127, 122, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, black 25%, black 75%, transparent);
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: riseIn 1s ease both;
}

.hero-brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.9rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 127, 122, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--teal-deep);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(15, 127, 122, 0.4);
  background: var(--teal-soft);
}

.hero-meter {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(36px, 7vh, 64px);
  animation: riseIn 1.15s ease 0.15s both;
}

.meter-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.meter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 127, 122, 0.12);
  grid-row: 1 / span 2;
  align-self: center;
}

.meter-dot.pulse {
  animation: pulseDot 1.8s ease-in-out infinite;
}

.meter-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.meter-item strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.section {
  padding: clamp(72px, 12vh, 120px) clamp(20px, 4vw, 56px);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 6vh, 56px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.section-desc {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-panel {
  display: grid;
  gap: 14px;
}

.stat {
  padding: 20px 22px;
  border-left: 3px solid var(--teal);
  background: var(--paper-soft);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.stat span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.products {
  background: var(--paper-soft);
}

.product-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.product-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.product-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.96));
  color: var(--ink);
}

.product-overlay span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.product-overlay p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.product-list {
  display: grid;
  gap: 0;
}

.product-list article {
  padding: 26px 8px 26px 0;
  border-bottom: 1px solid var(--line);
}

.product-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-list h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.product-list p {
  margin: 0;
  color: var(--text-muted);
}

.dispatch {
  background: var(--paper);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.solution-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.solution-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.solution-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.tech-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.tech-block > h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.tech-grid strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  color: var(--ink);
}

.tech-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cases {
  background: var(--paper-soft);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-grid article {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.case-grid h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}

.case-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.llm-panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  align-items: center;
}

.llm-panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.llm-panel p:last-of-type {
  margin: 0;
  color: var(--text-muted);
}

.llm-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.llm-panel li {
  padding: 10px 14px;
  border-left: 3px solid var(--teal);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.dispatch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.capability-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.capability-list li {
  padding-left: 18px;
  border-left: 2px solid rgba(15, 127, 122, 0.45);
}

.capability-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
  color: var(--ink);
}

.capability-list span {
  color: var(--text-muted);
}

.dispatch-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(15, 127, 122, 0.1), transparent 55%),
    linear-gradient(160deg, #f8fbfb, #eef5f5);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.radar {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 127, 122, 0.18);
  border-radius: 50%;
}

.radar-ring:nth-child(2) {
  inset: 18%;
}

.radar-ring:nth-child(3) {
  inset: 36%;
}

.radar-beam {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, transparent 72%, rgba(15, 127, 122, 0.28) 88%, transparent 100%);
  animation: radarSpin 4.5s linear infinite;
  mask-image: radial-gradient(circle, transparent 28%, black 30%);
}

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(15, 127, 122, 0.12);
}

.radar-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(15, 127, 122, 0.12);
  animation: nodeBlink 2.4s ease-in-out infinite;
}

.radar-node.n1 { top: 22%; left: 62%; }
.radar-node.n2 { top: 58%; left: 24%; animation-delay: 0.5s; }
.radar-node.n3 { top: 68%; left: 70%; animation-delay: 1s; }

.dispatch-chips {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dispatch-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.contact {
  padding-bottom: clamp(88px, 14vh, 140px);
  background: var(--paper-soft);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  gap: 6px;
}

.contact-label {
  margin: 12px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-value {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
}

.contact-card .btn {
  margin-top: 18px;
  justify-self: start;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 4vw, 56px) 40px;
  background: #fff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -1%, 0); }
}

@keyframes scanMove {
  from { top: -30%; }
  to { top: 110%; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

@keyframes nodeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 960px) {
  .about-grid,
  .product-stage,
  .dispatch-layout,
  .contact-inner,
  .solution-grid,
  .tech-grid,
  .case-grid,
  .llm-panel {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-visual {
    min-height: 280px;
  }

  .dispatch-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .header-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 188px);
    left: 20px;
    right: 20px;
    z-index: 51;
  }

  .hero {
    align-items: center;
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .brand-full {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
