:root {
  --ink: #10233f;
  --muted: #60718a;
  --blue: #1e8fff;
  --blue-soft: #dff1ff;
  --line: #cfe1ef;
  --paper: #f7fbff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 80px;
  background-position: -1px -1px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: rgba(247, 251, 255, 0.82);
}

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

.site-header,
.hero,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1240px, calc(100% - 64px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-note {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero {
  width: min(1240px, calc(100% - 64px));
  min-height: calc(100svh - 176px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 44px;
  padding: 64px 0 72px;
}

.hero-copy {
  padding-left: 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--blue-soft);
  animation: pulse 2.3s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(54px, 5.8vw, 84px);
  line-height: 1.16;
  letter-spacing: -0.065em;
  font-weight: 700;
}

h1 span {
  color: var(--blue);
}

.lead {
  margin: 34px 0 0;
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.progress-line {
  margin-top: 48px;
  width: min(500px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.progress-line strong {
  color: var(--blue);
  font-size: inherit;
}

.progress-line .line {
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.progress-line .line i {
  display: block;
  width: 44%;
  height: 100%;
  background: var(--blue);
  animation: progress 3.4s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  border: 1px dashed var(--line);
}

.hero-visual svg {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  overflow: visible;
}

.orbit {
  fill: none;
  stroke: #9bcff5;
  stroke-width: 2;
  stroke-dasharray: 7 10;
}

.node {
  fill: var(--blue);
  stroke: var(--white);
  stroke-width: 5;
}

.cloud path {
  fill: none;
  stroke: #b8d9ef;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.server rect {
  stroke-width: 2.3;
}

.server circle {
  stroke: none;
}

.server path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.server-back rect {
  fill: #e7f5ff;
  stroke: #88c8f6;
}

.server-back circle,
.server-back path {
  fill: #88c8f6;
  stroke: #88c8f6;
}

.server-mid rect {
  fill: #cae9ff;
  stroke: #4ba8ed;
}

.server-mid circle,
.server-mid path {
  fill: #4ba8ed;
  stroke: #4ba8ed;
}

.server-front rect {
  fill: var(--blue);
  stroke: #137bd2;
}

.server-front circle {
  fill: var(--white);
}

.server-front path {
  stroke: rgba(255, 255, 255, 0.85);
}

.signal path,
.signal circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
}

.signal circle {
  fill: var(--blue);
  stroke: none;
}

.visual-label {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: 48px;
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.site-footer {
  width: min(1240px, calc(100% - 64px));
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(30, 143, 255, 0.12); }
  50% { box-shadow: 0 0 0 9px rgba(30, 143, 255, 0.04); }
}

@keyframes progress {
  0% { transform: translateX(-110%); }
  45%, 60% { transform: translateX(125%); }
  100% { transform: translateX(125%); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual svg {
    width: min(88vw, 580px);
  }
}

@media (max-width: 640px) {
  body {
    background-size: 48px 48px;
  }

  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 36px, 1240px);
  }

  .site-header {
    height: 76px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .header-note {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 48px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 60px);
    line-height: 1.22;
  }

  .lead {
    margin-top: 26px;
    font-size: 15px;
    line-height: 1.9;
  }

  .desktop-only {
    display: none;
  }

  .progress-line {
    margin-top: 38px;
    gap: 10px;
    font-size: 8px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-visual::before {
    width: 315px;
    height: 315px;
  }

  .hero-visual::after {
    width: 340px;
    height: 340px;
  }

  .visual-label {
    display: none;
  }

  .site-footer {
    height: 86px;
    justify-content: center;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
