:root {
  --ink: #1a1a1a;
  --muted: #5f6368;
  --line: #e6e6e6;
  --accent: #0b63ce;
  --brand: #f2a900;
  --brand-deep: #c98a00;
  --hero-ink: #1a1a1a;
  --bg-soft: #faf8f3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(26,26,26,.04), 0 8px 24px rgba(26,26,26,.07);
}

* { box-sizing: border-box; }

body {
  font-family: Arial, "ヒラギノ角ゴシック ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
  margin: 0;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background: #eef2f7;
  padding: .12em .4em;
  border-radius: 4px;
  font-size: .9em;
}

.hero {
  position: relative;
  background: radial-gradient(1100px 460px at 82% -15%, rgba(242,169,0,.38) 0%, transparent 60%),
              linear-gradient(135deg, #141414 0%, #262626 60%, #333333 100%);
  color: #fff;
  padding: 5.5rem 1.4rem 5rem;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 260px at 12% 125%, rgba(242,169,0,.16), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 2rem;
  display: block;
  filter: brightness(0) invert(1);
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .12em;
  color: #ffd980;
  border: 1px solid rgba(242,169,0,.5);
  border-radius: 999px;
  padding: .25rem .85rem;
  margin: 0 0 1.2rem;
}
.hero h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
}
.hero-lead {
  font-size: 1.12rem;
  color: #e4e4e4;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: bold;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #1a1a1a; box-shadow: 0 6px 18px rgba(242,169,0,.35); }
.btn-primary:hover { background: #ffba1a; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-url {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .4rem .4rem .4rem 1rem;
  font-size: .9rem;
}
.hero-url span { color: #ffd980; }
.hero-url code {
  background: rgba(255,255,255,.16);
  color: #fff;
  padding: .25em .7em;
  border-radius: 999px;
}
.badges {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.badge {
  font-size: .82rem;
  color: #ededed;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: .3rem .9rem;
}

.section { padding: 3.4rem 1.4rem; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-inner { max-width: 860px; margin: 0 auto; }
.section h2 {
  font-size: 1.55rem;
  margin: 0 0 .4rem;
  letter-spacing: -.01em;
  scroll-margin-top: 1rem;
  padding-left: .7rem;
  border-left: 4px solid var(--brand);
}
.section .sub { color: var(--muted); margin: 0 0 1.8rem; }
.section h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
p, li { font-size: .97rem; }
ul { padding-left: 1.25rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.card .ico { font-size: 1.5rem; line-height: 1; height: 30px; display: flex; align-items: center; }
.card .ico img { height: 28px; width: 28px; display: block; }
.card h3 { margin: .5rem 0 .35rem; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; }

.prompts {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.2rem;
}
.prompts .chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow);
  font-size: .95rem;
}
.prompts .chip::before { content: "💬 "; }

.samples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.sample {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem;
  box-shadow: var(--shadow);
}
.sample .bubble {
  display: inline-block;
  background: #eef2f7;
  border-radius: 12px;
  padding: .5rem .8rem;
  font-size: .9rem;
  margin-bottom: .7rem;
}
.sample figure { margin: 0; }
.sample img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: block;
}
.sample-link { display: block; cursor: zoom-in; }
.sample-link figure { margin: 0; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .85);
  padding: 2.5rem 1.2rem;
  align-items: center;
  justify-content: center;
}
.lightbox:target { display: flex; }
.lightbox-bg { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox img {
  position: relative;
  max-width: min(620px, 90vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.3rem;
  z-index: 1;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}
.lightbox-close:hover { color: #ffd980; text-decoration: none; }

.sample-placeholder {
  border: 1px dashed #c4ccd6;
  border-radius: 10px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: .85rem;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.connect-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.connect-card h3 { margin-top: 0; }
.connect-card ol { margin: 0; padding-left: 1.2rem; }
.connect-card li { margin-bottom: .3rem; }

.feature-table { border-collapse: collapse; width: 100%; margin-top: 1.2rem; font-size: .93rem; }
.feature-table th, .feature-table td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.feature-table th { background: var(--bg-soft); white-space: nowrap; width: 9.5rem; }

.callout {
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 12px;
  padding: .9rem 1.1rem;
  margin-top: 1.2rem;
  font-size: .92rem;
}

.faq { margin-top: 1.2rem; }
.faq dt { font-weight: bold; margin-top: 1.1rem; }
.faq dd { margin: .25rem 0 0; padding-left: 0; color: var(--muted); }

.news-list { list-style: none; padding-left: 0; margin-top: 1.2rem; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-date {
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.news-tag {
  background: var(--brand);
  color: #1a1a1a;
  font-size: .72rem;
  font-weight: bold;
  border-radius: 999px;
  padding: .12rem .6rem;
  white-space: nowrap;
}
.news-body { font-size: .95rem; }

.linklist { list-style: none; padding-left: 0; margin-top: .6rem; }
.linklist li { margin-bottom: .4rem; }

@media (max-width: 600px) {
  .hero { padding: 4rem 1.2rem 3.4rem; }
  .hero h1 { font-size: 2.1rem; }
  .section { padding: 2.6rem 1.2rem; }
}
