:root {
  color-scheme: light;
  --ink: #20262b;
  --muted: #61707a;
  --line: #d8e1e4;
  --paper: #f3f7f7;
  --paper-deep: #e8eef1;
  --panel: #ffffff;
  --forest: #21433b;
  --moss: #5f8879;
  --clay: #ad6649;
  --amber: #d8ac4f;
  --blue: #5f8fa3;
  --shadow: 0 24px 70px rgba(28, 45, 52, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 38rem),
    var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(243, 247, 247, 0.92);
  border-bottom: 1px solid rgba(216, 225, 228, 0.9);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: 148px;
  max-width: 34vw;
  height: auto;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav a {
  min-width: 70px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.nav a:hover {
  background: #e8eff1;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 4vw, 52px) clamp(18px, 5vw, 72px) 36px;
}

.hero__copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.25vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 660px;
  color: #37474f;
  font-size: clamp(17px, 1.55vw, 20px);
}

.hero__actions,
.download {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 24px rgba(36, 61, 52, 0.2);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.58);
}

.product-shot {
  overflow: hidden;
  border: 1px solid rgba(36, 61, 52, 0.14);
  border-radius: 8px;
  background: #eef4f4;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: #2b3d34;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.window-bar span:nth-child(2) {
  background: var(--clay);
}

.window-bar span:nth-child(3) {
  background: var(--blue);
}

.app-shell {
  display: grid;
  grid-template-columns: 54px 150px minmax(230px, 1fr) minmax(210px, 0.85fr);
  min-height: 430px;
  color: #223028;
}

.rail,
.side-pane,
.task-pane,
.detail-pane {
  padding: 18px;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  background: #243d34;
}

.rail__item {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.rail__item.active {
  background: var(--amber);
}

.side-pane {
  background: #edf3f4;
  border-right: 1px solid var(--line);
}

.pane-label {
  margin: 0 0 8px;
  color: #6c766d;
  font-size: 12px;
  font-weight: 700;
}

.view {
  display: block;
  width: 100%;
  margin-bottom: 7px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #36433a;
  font: inherit;
  text-align: left;
}

.view.active,
.view:hover {
  background: #fff;
}

.task-pane {
  background: #fafcfc;
  border-right: 1px solid var(--line);
}

.quick-add {
  margin-bottom: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.task {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #dfe7e9;
  border-radius: 6px;
  background: #fff;
}

.task strong {
  display: block;
  line-height: 1.45;
}

.task small {
  display: block;
  color: var(--muted);
}

.check {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid var(--moss);
  border-radius: 4px;
}

.task.done .check {
  background: var(--moss);
}

.detail-pane {
  background: #fff;
  overflow-wrap: anywhere;
}

.detail-pane h2 {
  font-size: 23px;
}

.metadata {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.metadata span {
  padding: 8px 10px;
  border-radius: 6px;
  background: #edf3f4;
  color: #52636a;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 108px) 0;
}

.section-heading {
  max-width: 680px;
}

.concept,
.data-model,
.comparison {
  border-top: 1px solid var(--line);
}

.concept {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

.concept__body p,
.agent-copy p,
.download p,
.comparison p {
  color: #4c5f66;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.comparison-grid > div,
.flow-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid article {
  min-height: 292px;
  padding: 24px;
}

.feature-number {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.feature-grid p {
  color: #536870;
}

.agent-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.screenshot-section {
  border-top: 1px solid var(--line);
}

.screenshot-section .section-heading {
  max-width: 780px;
}

.screenshot-section .section-heading p:not(.eyebrow) {
  color: #4c5f66;
  font-size: 17px;
}

.screenshot-frame {
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid rgba(33, 67, 59, 0.15);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.agent-flow {
  display: grid;
  gap: 12px;
}

.flow-card {
  padding: 20px;
}

.flow-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.flow-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.flow-card p {
  margin: 0;
  color: #566a72;
}

.flow-card--dark {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.flow-card--dark span,
.flow-card--dark p {
  color: #dce5dd;
}

.flow-line {
  width: 2px;
  height: 28px;
  margin-left: 30px;
  background: var(--line);
}

.data-model {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  border-radius: 8px;
  background: #253a32;
  color: #f8f6ef;
  box-shadow: var(--shadow);
}

code {
  font-family: Consolas, "Courier New", monospace;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.comparison-grid > div {
  padding: 24px;
}

.comparison-grid > div:nth-child(3) {
  background: #f7fbfb;
  border-color: rgba(95, 143, 163, 0.4);
}

.download {
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.download > div {
  max-width: 720px;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.usage-hero {
  min-height: 48vh;
  display: flex;
  align-items: center;
}

.usage-flow,
.usage-summary {
  border-top: 1px solid var(--line);
}

.usage-step {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.usage-step:last-child {
  border-bottom: 0;
}

.usage-step .feature-number {
  margin: 0;
}

.usage-step h2 {
  max-width: 820px;
  font-size: clamp(26px, 3.5vw, 42px);
}

.usage-step p {
  max-width: 860px;
  color: #4c5f66;
  font-size: 17px;
}

.usage-image {
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid rgba(33, 67, 59, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(28, 45, 52, 0.12);
}

.usage-image img {
  display: block;
  width: 100%;
  height: auto;
}

.usage-example {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.usage-example strong {
  display: block;
  margin-bottom: 8px;
}

.usage-example p {
  margin: 0 0 8px;
  font-size: 15px;
}

.usage-example p:last-child {
  margin-bottom: 0;
}

.usage-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35)),
    var(--paper-deep);
}

.visual-card {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 45, 52, 0.08);
}

.visual-arrow {
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--moss);
  border-right: 2px solid var(--moss);
  transform: rotate(45deg);
}

.visual-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  line-height: 1.45;
}

.visual-card p {
  margin: 8px 0 0;
  color: #5d7078;
  font-size: 14px;
}

.visual-card--ai {
  border-color: rgba(95, 143, 163, 0.45);
  background: #f5fbfc;
}

.visual-card--task {
  border-color: rgba(95, 136, 121, 0.45);
  background: #f7fbf8;
}

.visual-card--mail,
.visual-card--note {
  border-color: rgba(216, 172, 79, 0.48);
  background: #fffaf0;
}

.visual-card--result,
.visual-card--external {
  border-color: rgba(173, 102, 73, 0.38);
  background: #fff7f3;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.summary-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.summary-grid p {
  margin: 0;
  color: #4c5f66;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 76px);
}

.download-hero__copy {
  max-width: 760px;
}

.download-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.download-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.download-panel div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.download-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.download-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.download-panel dd {
  margin: 0;
  font-weight: 700;
}

.download-panel a {
  color: var(--clay);
}

.download-steps,
.download-notes {
  border-top: 1px solid var(--line);
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: setup-step;
}

.steps-list li {
  display: grid;
  grid-template-columns: 52px minmax(160px, 220px) 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  counter-increment: setup-step;
}

.steps-list li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  content: counter(setup-step);
}

.steps-list strong {
  font-size: 18px;
}

.steps-list span {
  color: #4c5f66;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.notes-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.notes-grid p {
  margin: 0;
  color: #4c5f66;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-shot {
    max-width: 940px;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 42px;
  }

  .app-shell {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .side-pane,
  .detail-pane {
    display: none;
  }

  .task-pane {
    border-right: 0;
  }

  .concept,
  .agent-section,
  .data-model,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .comparison-grid,
  .notes-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .usage-step {
    grid-template-columns: 1fr;
  }

  .usage-visual {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .visual-arrow {
    margin: 0 auto;
    transform: rotate(135deg);
  }

  .steps-list li {
    grid-template-columns: 42px 1fr;
  }

  .steps-list span {
    grid-column: 2;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 22px;
  }

  .site-footer,
  .download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 122px;
  }

  .nav a {
    min-width: 58px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .section {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-inline: 14px;
  }

  .hero__actions .button {
    width: 100%;
  }
}
