:root {
  color-scheme: light;
  --bg: #fbfcfd;
  --ink: #111821;
  --muted: #5e6873;
  --line: #e7ebef;
  --line-strong: #d8dde3;
  --accent: #007f99;
  --accent-soft: #d9f3f7;
  --shadow: 0 18px 50px rgba(17, 24, 33, 0.08);
  --max: 1424px;
  --gutter: clamp(24px, 3.65vw, 56px);
  --font: "Avenir Next", Avenir, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.8;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px var(--gutter) 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand__x {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(26px, 4vw, 64px);
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
}

.site-nav a {
  white-space: nowrap;
}

.search-link {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.search-link svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 500px;
  margin: 0 auto;
  padding: 78px var(--gutter) 48px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: var(--accent);
  font-weight: 400;
  margin-top: 8px;
}

.hero__lead {
  margin: 38px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 2.05;
}

.hero-network {
  position: absolute;
  right: 0;
  bottom: -13px;
  z-index: 1;
  width: min(67vw, 1040px);
  height: 505px;
  overflow: hidden;
  opacity: 0.88;
  pointer-events: none;
}

.hero-network::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 23%, rgba(0, 127, 153, 0.11), transparent 18%),
    radial-gradient(circle at 42% 62%, rgba(82, 112, 132, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(251, 252, 253, 0) 46%, rgba(251, 252, 253, 0.9) 100%);
  content: "";
}

.hero-network svg {
  width: 100%;
  height: 100%;
}

.fine-lines path,
.soft-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.fine-lines path {
  stroke: rgba(128, 149, 165, 0.21);
  stroke-width: 0.7;
}

.soft-lines path {
  stroke: rgba(177, 188, 199, 0.34);
  stroke-width: 0.45;
}

.dots circle {
  fill: #aab5c1;
  opacity: 0.76;
}

.dots .dot-accent {
  fill: var(--accent);
  opacity: 0.95;
}

.index-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: calc(var(--max) - 72px);
  margin: 8px auto 0;
  padding: 36px 0;
  border: 1px solid rgba(231, 235, 239, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

.index-card {
  min-height: 232px;
  padding: 12px 54px 0;
  text-align: center;
}

.index-card + .index-card {
  border-left: 1px solid var(--line-strong);
}

.icon-box {
  display: flex;
  justify-content: center;
  height: 62px;
  margin-bottom: 18px;
}

.icon-box svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.icon-box .accent {
  stroke: var(--accent);
}

.index-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.index-card p {
  margin: 16px 0 20px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.index-card a {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.03em;
}

.index-card a span {
  display: inline-block;
  margin-left: 16px;
  font-size: 20px;
  line-height: 1;
  transform: translateY(1px);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(260px, auto) auto;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter) 34px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  justify-self: center;
}

.footer-wisdom {
  justify-self: center;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.footer-links a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.footer-links svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-links a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.subpage {
  background:
    radial-gradient(circle at 80% 22%, rgba(0, 127, 153, 0.08), transparent 24%),
    var(--bg);
}

.coming-soon {
  max-width: 980px;
  min-height: 430px;
  margin: 0 auto;
  padding: 96px var(--gutter) 120px;
}

.coming-soon h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 300;
  line-height: 1.12;
}

.coming-soon p:not(.hero__eyebrow) {
  max-width: 640px;
  margin: 34px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 2;
}

.tool-directory,
.tool-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 86px var(--gutter) 120px;
}

.tool-directory h1,
.tool-page h1 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 300;
  line-height: 1.14;
}

.tool-directory__lead,
.tool-page__lead {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 2;
}

.tool-list {
  display: grid;
  gap: 22px;
  margin-top: 54px;
}

.tool-item,
.notice-panel,
.scope-grid article {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.tool-item {
  padding: 32px 36px 38px;
}

.tool-item__label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-item h2,
.notice-panel h2,
.tool-section h2,
.scope-grid h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.35;
}

.tool-item h2,
.notice-panel h2,
.tool-section h2 {
  font-size: 24px;
}

.scope-grid h3 {
  font-size: 18px;
}

.tool-item p:not(.tool-item__label),
.notice-panel p,
.tool-section p,
.scope-grid p {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}

.tool-directory__home {
  margin-top: 52px;
}

.notice-panel {
  margin-top: 48px;
  padding: 28px 32px;
  border-color: rgba(0, 127, 153, 0.32);
  background: rgba(217, 243, 247, 0.38);
}

.tool-section {
  margin-top: 58px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.scope-grid article {
  padding: 26px 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 42px;
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.03em;
}

.back-link span {
  display: inline-block;
  margin-left: 16px;
  font-size: 20px;
  transform: translateY(1px);
}

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

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px 30px;
  }

  .hero {
    min-height: 0;
    padding-top: 56px;
  }

  .hero-network {
    position: relative;
    width: calc(100% + 2 * var(--gutter));
    height: 300px;
    margin: 28px calc(-1 * var(--gutter)) -16px;
  }

  .index-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p:nth-child(2),
  .footer-wisdom {
    justify-self: start;
  }

  .index-card:nth-child(3) {
    border-left: none;
  }

  .index-card:nth-child(n + 3) {
    border-top: 1px solid var(--line-strong);
    padding-top: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 28px;
  }

  .brand {
    gap: 12px;
    font-size: 38px;
  }

  .site-nav {
    font-size: 15px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__eyebrow {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .hero__lead {
    font-size: 17px;
  }

  .index-panel {
    grid-template-columns: 1fr;
    max-width: calc(100% - 32px);
    padding: 0;
  }

  .index-card {
    min-height: 0;
    padding: 34px 28px;
  }

  .index-card + .index-card {
    border-top: 1px solid var(--line-strong);
    border-left: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer p:nth-child(2) {
    justify-self: start;
  }

  .coming-soon {
    min-height: 360px;
    padding-top: 64px;
  }

  .tool-directory,
  .tool-page {
    padding-top: 58px;
  }

  .tool-directory h1,
  .tool-page h1 {
    font-size: 40px;
  }

  .tool-directory__lead,
  .tool-page__lead {
    font-size: 17px;
  }

  .tool-item,
  .notice-panel,
  .scope-grid article {
    padding: 24px;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .coming-soon p:not(.hero__eyebrow) {
    font-size: 17px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
