:root {
  --ink: #172126;
  --muted-ink: #526267;
  --paper: #fbfcfb;
  --soft: #eef3f1;
  --line: #d7e1dc;
  --teal: #16666b;
  --teal-dark: #0e474b;
  --coral: #c65f45;
  --gold: #b18728;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  max-width: 100%;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.tools-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(24px, 4vw, 56px);
  color: var(--white);
  background: rgba(14, 28, 30, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.brand {
  font-weight: 700;
  white-space: nowrap;
}

.tools-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.92rem;
}

.tools-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.tools-nav a:hover {
  color: var(--white);
}

.hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(28px, 6vw, 84px) 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 23, 25, 0.86), rgba(12, 23, 25, 0.56), rgba(12, 23, 25, 0.28)),
    url("../assets/experiment-dashboard-02.png") center / cover no-repeat;
}

.hero-inner {
  width: 100%;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b08d;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.38;
  letter-spacing: 0;
}

h4 {
  margin: 14px 0 4px;
  color: var(--teal-dark);
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-status span,
.tool-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-status span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(28px, 5vw, 72px);
}

.muted {
  background: #f4f6f5;
}

.section-heading {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted-ink);
  font-size: 1.03rem;
}

.quick-start {
  padding-bottom: clamp(44px, 6vw, 72px);
}

.starter-grid {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.starter-step {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.starter-step span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
}

.starter-step p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.tool-grid {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.06);
}

.tool-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tool-number {
  color: var(--teal);
  font-weight: 700;
}

.tool-tag {
  min-height: 30px;
  color: var(--teal-dark);
  background: var(--soft);
  font-size: 0.84rem;
}

.tool-card p {
  color: var(--muted-ink);
}

.tool-points {
  margin: 4px 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.tool-points p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.tool-points p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

.flow-list {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flow-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 700;
}

.flow-list p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.comparison-table-wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.06);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--teal-dark);
  background: var(--soft);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td {
  color: var(--muted-ink);
}

.safety-panel {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--coral);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.safety-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.tools-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.tools-footer p {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .tools-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .tools-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 62vh;
    padding-top: 154px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .starter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero *,
  .section *,
  .tools-footer * {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero,
  .section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .tool-grid,
  .starter-grid,
  .flow-list li {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
  }

  .tool-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-status span,
  .tool-tag {
    max-width: 100%;
    white-space: normal;
  }

  .hero-status {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.14;
  }
}
