:root {
  --bg: #ffffff;
  --ink: #17202a;
  --muted: #5d6875;
  --line: #dce3ea;
  --soft: #f4f8fb;
  --soft-2: #edf6f1;
  --blue: #2364aa;
  --blue-dark: #184b83;
  --green: #2f8f6b;
  --shadow: 0 24px 60px rgba(23, 32, 42, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

h1,
h2,
h3,
p,
li,
summary,
dt,
dd,
span,
strong,
label,
a {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  transition: color 160ms ease, background 160ms ease;
}

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

.nav-cta {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
}

.hero,
.free-hero,
.thanks {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
  min-height: min(680px, calc(100vh - 120px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) 24px;
}

.hero h1,
.free-hero h1,
.thanks h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy,
.free-hero > div,
.thanks > div,
.prompt-card h2,
.sample-item h3,
.plain-list h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero p,
.free-hero p,
.thanks p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.disabled-link {
  cursor: not-allowed;
  opacity: 0.62;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 0;
}

.hero-facts div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.hero-panel,
.lead-form,
.launch-check,
.price-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
  min-width: 0;
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.prompt-card {
  padding: 24px;
  border-radius: 7px;
  background: var(--soft);
  min-width: 0;
}

.prompt-label {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.prompt-card h2 {
  margin: 8px 0 18px;
  font-size: 24px;
  line-height: 1.3;
}

pre {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 7px;
  background: #101820;
  color: #eef6ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.65;
}

code {
  display: block;
  max-width: 100%;
  white-space: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prompt-card pre {
  padding: 18px;
}

.prompt-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.prompt-row span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
}

.os-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.ops-board {
  display: grid;
  gap: 12px;
}

.ops-board div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.ops-board span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.ops-board strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
}

.ops-board p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.band {
  background: var(--soft);
}

.problem,
.sample,
.future-product,
.product,
.comparison,
.bridge,
.faq,
.prompt-library {
  padding: clamp(58px, 8vw, 96px) 24px;
}

.section-copy,
.plain-list,
.sample-grid,
.category-list,
.comparison-table,
.bridge-steps,
.buy,
.faq,
.prompt-list,
.free-strip,
.future-grid {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.section-copy.narrow {
  display: block;
  max-width: 740px;
  text-align: center;
}

.section-copy h2,
.free-strip h2,
.price-copy h2,
.faq h2,
.lead-form h2,
.launch-check h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-copy p,
.free-strip p,
.price-copy p {
  margin: 0;
  color: var(--muted);
}

.plain-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.plain-list div,
.sample-item,
.category-list div,
.prompt-list article {
  background: #fff;
}

.plain-list div {
  padding: 26px;
}

.plain-list h3,
.sample-item h3,
.prompt-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.plain-list p,
.sample-item p {
  margin: 0;
  color: var(--muted);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-table > div {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-bottom: 1px solid var(--line);
}

.comparison-table > div:last-child {
  border-bottom: 0;
}

.comparison-table span,
.comparison-table strong {
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 16px 18px;
}

.comparison-table span {
  color: var(--muted);
  border-right: 1px solid var(--line);
}

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

.comparison-table .comparison-head {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.comparison-table .comparison-head span {
  min-height: 48px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.bridge-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.bridge-steps div {
  min-height: 210px;
  padding: 26px;
  background: #fff;
}

.bridge-steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.bridge-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.35;
}

.bridge-steps p {
  margin: 0;
  color: var(--muted);
}

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

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

.sample-item,
.future-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.future-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.future-grid p {
  margin: 0;
  color: var(--muted);
}

.future-actions {
  max-width: var(--max);
  margin: 22px auto 0;
}

.sample-item span {
  display: block;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.mini-sample-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1px;
  max-width: var(--max);
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.sample-preview > div {
  padding: 24px;
  background: #fff;
}

.sample-preview strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.sample-preview p {
  margin: 0;
  color: var(--muted);
}

.free-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(36px, 6vw, 72px);
  margin-bottom: clamp(36px, 6vw, 72px);
  padding: clamp(30px, 5vw, 46px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.free-strip p {
  max-width: 710px;
  margin-top: 10px;
  color: #d4dde6;
}

.free-strip .button.primary {
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.category-list div {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.os-category-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding: clamp(60px, 8vw, 104px) 24px;
}

.price-box,
.launch-check,
.lead-form,
.payment-box {
  padding: 28px;
}

.price-box h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.payment-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.payment-box h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.payment-box dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.payment-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.payment-box dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.payment-box dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.qr-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  margin-top: 20px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  background: var(--soft);
  text-align: center;
}

.qr-placeholder span {
  font-weight: 900;
}

.qr-placeholder p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.stripe-placeholder {
  align-content: center;
  gap: 10px;
}

.stripe-placeholder span {
  color: var(--blue);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.payment-badges span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.order-steps {
  padding: clamp(58px, 8vw, 96px) 24px;
}

.final-confirm,
.legal-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 24px;
}

.confirm-table,
.legal-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.confirm-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.confirm-table div:last-child {
  border-bottom: 0;
}

.confirm-table span {
  color: var(--muted);
  font-weight: 800;
}

.confirm-table strong {
  font-weight: 800;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.legal-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--blue);
  font-weight: 800;
}

.legal-page {
  min-height: calc(100vh - 140px);
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.18;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.35;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-warning {
  padding: 14px 16px;
  border: 1px solid #f2d59b;
  border-radius: 7px;
  background: #fff8e8;
  color: #6f4e00;
  font-weight: 800;
}

.legal-table {
  border-collapse: collapse;
  display: table;
}

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

.legal-table th {
  width: 230px;
  background: var(--soft);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

.price-box ul,
.launch-check ul {
  margin: 0;
  padding-left: 20px;
}

.faq {
  max-width: none;
}

.faq h2 {
  max-width: var(--max);
  margin: 0 auto 24px;
}

details {
  max-width: var(--max);
  margin: 0 auto 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form h2 {
  font-size: 24px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.lead-form textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.lead-form p {
  margin: 0;
  font-size: 13px;
}

.lead-capture {
  padding: clamp(58px, 8vw, 96px) 24px;
}

.wide-form {
  max-width: 760px;
  margin: 0 auto;
}

.check-label {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.check-label input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.hidden-field {
  display: none;
}

.prompt-list {
  display: grid;
  gap: 14px;
}

.prompt-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prompt-list pre {
  padding: 16px;
}

.thanks {
  min-height: calc(100vh - 67px);
}

.order-page {
  min-height: auto;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.form-note {
  padding: 12px 14px;
  border-radius: 7px;
  background: var(--soft-2);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

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

  .nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero,
  .free-hero,
  .thanks,
  .section-copy,
  .buy {
    grid-template-columns: 1fr;
  }

  .hero,
  .free-hero,
  .thanks {
    min-height: auto;
    padding-top: 48px;
  }

  .plain-list,
  .sample-grid,
  .future-grid,
  .category-list,
  .bridge-steps {
    grid-template-columns: 1fr 1fr;
  }

  .free-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1,
  h2,
  h3,
  p,
  li,
  summary,
  dt,
  dd,
  span,
  strong,
  label,
  a {
    line-break: anywhere;
    word-break: break-word;
  }

  .hero h1,
  .free-hero h1,
  .thanks h1 {
    max-width: calc(100vw - 40px);
    font-size: 29px;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-facts,
  .prompt-row,
  .plain-list,
  .sample-grid,
  .future-grid,
  .category-list,
  .bridge-steps,
  .sample-preview {
    grid-template-columns: 1fr;
  }

  .comparison-table > div {
    grid-template-columns: 1fr;
  }

  .comparison-table span {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table strong {
    min-height: auto;
  }

  .comparison-table .comparison-head {
    display: none;
  }

  .hero,
  .free-hero,
  .thanks {
    width: 100%;
    max-width: 100vw;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy,
  .hero-copy p,
  .free-hero > div,
  .free-hero p,
  .thanks > div,
  .hero-panel,
  .prompt-card,
  .prompt-card h2,
  .prompt-card pre,
  .lead-form,
  .launch-check,
  .price-box {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-panel {
    padding: 12px;
  }

  .prompt-card {
    padding: 18px;
  }

  .prompt-card h2 {
    font-size: 19px;
    line-height: 1.45;
  }

  .hero-copy p,
  .free-hero p,
  .lead-form p,
  .prompt-card h2,
  .prompt-card code,
  .prompt-list code {
    max-width: calc(100vw - 40px);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  pre {
    overflow-x: hidden;
  }

  .panel-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }

  .confirm-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: 0;
  }
}
