:root {
  --page: #fbfaf8;
  --surface: #ffffff;
  --surface-warm: #f4eeea;
  --surface-ink: #211d1c;
  --text: #1d1a19;
  --text-soft: #4c4643;
  --muted: #6b6460;
  --primary: #a8292f;
  --primary-hover: #8c2028;
  --primary-dark: #5b181e;
  --accent: #d8a145;
  --border: #ded4cf;
  --border-strong: #cdbdb6;
  --container: 1160px;
  --shadow: 0 20px 50px rgba(67, 24, 26, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
h1, h2, h3 { margin-bottom: 20px; color: var(--text); line-height: 1.38; letter-spacing: .01em; }
h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 800; line-height: 1.18; }
h2 { max-width: 780px; font-size: clamp(30px, 3.35vw, 44px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 750; }
p { margin-bottom: 20px; }
.no-break { white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 68px;
  padding: 10px max(24px, calc((100% - var(--container)) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.brand { flex: 0 0 auto; color: var(--primary-dark); font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.header-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 24px); margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 700; }
.header-nav a, .site-footer nav a { border-bottom: 2px solid transparent; transition: color 160ms ease, border-color 160ms ease; }
.header-nav a { padding: 4px 0; white-space: nowrap; }
.header-nav a:hover, .site-footer nav a:hover { border-color: currentColor; color: var(--primary); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #e4ae4f; outline-offset: 4px; }
.button--primary { background: var(--primary); color: #fff; }
.button--primary:hover { background: var(--primary-hover); }
.button--secondary { border-color: var(--primary); background: transparent; color: var(--primary); }
.button--secondary:hover { background: #f8e9e9; }
.button--light { background: #fff; color: var(--primary-dark); }
.button--light:hover { background: #f8e9e9; }
.button--small { min-height: 42px; padding-inline: 17px; font-size: 12px; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  grid-template-areas: "intro visual" "copy visual";
  row-gap: 0;
  align-items: center;
  column-gap: clamp(38px, 5.5vw, 76px);
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 80px 32px 96px;
}
.release-badge { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-warm); color: var(--primary-dark); font-size: 13px; font-weight: 700; line-height: 1.5; }
.hero__intro { grid-area: intro; min-width: 0; }
.hero__copy { grid-area: copy; min-width: 0; }
.hero__visual { grid-area: visual; }
.eyebrow, .section__stage { margin-bottom: 14px; color: var(--primary); font-size: 13px; font-weight: 800; line-height: 1.5; letter-spacing: .03em; }
.hero h1 { margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero__lead { max-width: 620px; margin-bottom: 17px; color: var(--text); font-size: 18px; font-weight: 550; line-height: 1.85; }
.hero__support { max-width: 620px; margin-top: 24px; }
.hero__price { margin: 28px 0 5px; color: var(--primary-dark); font-size: 28px; font-weight: 800; line-height: 1.35; }
.hero__price-note { margin-bottom: 23px; color: var(--muted); font-size: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.scope-note { margin-top: 20px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.media-frame { overflow: hidden; margin: 0; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.media-frame img { aspect-ratio: 16 / 10; object-fit: cover; }
.screenshot-link { display: block; cursor: zoom-in; }
.screenshot-link__hint { display: block; padding: 8px 14px; background: var(--surface); color: var(--primary-dark); font-size: 13px; font-weight: 700; line-height: 1.5; text-align: right; }
.screenshot-link:hover .screenshot-link__hint { background: var(--surface-warm); text-decoration: underline; }
.screenshot-link:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.media-frame--dark { border-color: rgba(255, 255, 255, .18); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.media-frame--quiet { box-shadow: none; }

.section { padding: 105px max(24px, calc((100% - var(--container)) / 2)); }
.section--warm { background: var(--surface-warm); }
.section--dark { background: var(--primary-dark); color: rgba(255, 255, 255, .82); }
.section--ink { background: var(--surface-ink); color: rgba(255, 255, 255, .82); }
.section--price { background: var(--page); }
.section__inner { max-width: var(--container); margin: 0 auto; }
.section__lead { max-width: 730px; }
.section__note { max-width: 790px; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.section__copy { max-width: 680px; }
.section__copy--light h2, .section__copy--light h3 { color: #fff; }
.section__copy--light .section__stage { color: #f3aeae; }
.section__copy--light .section__lead, .section__copy--light p { color: rgba(255, 255, 255, .82); }

.problem-layout { display: grid; grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-width: 0; padding: 24px 20px 22px; border-top: 3px solid var(--primary); background: rgba(255, 255, 255, .72); }
.feature-card h3 { margin-bottom: 12px; font-size: 19px; }
.feature-card p:last-child { margin-bottom: 0; }

.script-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(45px, 7vw, 100px); align-items: center; }
.mechanism-list { margin-top: 34px; }
.mechanism-list article { padding: 20px 0 5px; border-top: 1px solid rgba(255, 255, 255, .24); }
.mechanism-list h3 { margin-bottom: 8px; font-size: 20px; }
.mechanism-list p { margin-bottom: 15px; }

.ideas-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(42px, 7vw, 100px); align-items: start; margin-top: 38px; }
.ideas__visual { position: sticky; top: 100px; }
.ideas__paths { display: grid; gap: 24px; }
.path-card { padding: 26px 28px 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.path-card h3 { margin-bottom: 12px; }
.path-card p:last-child { margin-bottom: 0; }

.outputs-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(42px, 7vw, 100px); align-items: start; margin-top: 38px; }
.output-list { margin: 0; }
.output-list > div { padding: 17px 0; border-bottom: 1px solid var(--border-strong); }
.output-list dt { margin-bottom: 4px; color: var(--text); font-size: 18px; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.output-list dd { margin: 0; color: var(--text-soft); overflow-wrap: anywhere; }

.narrow-copy { max-width: 850px; }
.section--dark .narrow-copy, .section--ink .narrow-copy { color: rgba(255, 255, 255, .82); }
.section--dark .narrow-copy h2, .section--ink .narrow-copy h2 { color: #fff; }
.section--dark .narrow-copy .section__stage, .section--ink .narrow-copy .section__stage { color: #f3aeae; }
.section--dark .narrow-copy p, .section--ink .narrow-copy p { max-width: 780px; }

.management-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.fit-card { padding: 27px 28px 21px; border-top: 4px solid var(--primary); background: #fff; }
.fit-card--no { border-top-color: var(--accent); }
.fit-card h3 { margin-bottom: 17px; }
.fit-card ul, .price-column ul { margin: 0; padding: 0; list-style: none; }
.fit-card li, .price-column li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.fit-card li::before, .price-column li::before { position: absolute; top: .78em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); content: ""; }
.fit-card--no li::before { width: 11px; height: 2px; top: 1em; border-radius: 0; background: var(--accent); }

.price-layout { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: clamp(44px, 7vw, 96px); align-items: start; margin-top: 38px; }
.price-summary { padding: 26px 0 0; }
.price-summary__value { margin-bottom: 8px; color: var(--primary-dark); font-size: clamp(42px, 5vw, 64px); font-weight: 850; line-height: 1; }
.price-summary__note { margin-bottom: 25px; color: var(--muted); font-size: 14px; }
.price-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-column { padding: 25px 24px 17px; border: 1px solid var(--border-strong); border-radius: 12px; background: #fff; }
.price-column--aside { background: var(--surface-warm); }
.price-column h3 { margin-bottom: 18px; font-size: 19px; }
.price-column li { margin-bottom: 12px; }

.faq { max-width: 900px; }
.faq h2 { margin-bottom: 33px; }
.faq details { border-top: 1px solid var(--border-strong); }
.faq details:last-child { border-bottom: 1px solid var(--border-strong); }
.faq summary { position: relative; padding: 22px 40px 22px 0; color: var(--text); cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 21px; right: 3px; color: var(--primary); content: "+"; font-size: 25px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 780px; margin: -3px 0 21px; color: var(--text-soft); }

.release-status { padding: 76px max(24px, calc((100% - var(--container)) / 2)); border-top: 1px solid rgba(112, 73, 16, .24); border-bottom: 1px solid rgba(112, 73, 16, .24); background: #fff4df; }
.release-status .section__stage { color: #865815; }
.release-status h2 { margin-bottom: 14px; }
.release-status p { max-width: 700px; margin-bottom: 8px; }
.final-cta { padding: 98px 24px; background: var(--primary-hover); color: rgba(255, 255, 255, .9); }
.final-cta__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { margin-bottom: 10px; }
.final-cta__price { margin-top: 28px !important; color: #fff; font-size: 28px; font-weight: 800; }
.final-cta .button { margin-top: 24px; }
.final-cta__note { margin-top: 17px !important; color: rgba(255, 255, 255, .75); font-size: 14px; }

.site-footer { padding: 42px max(24px, calc((100% - var(--container)) / 2)) 23px; background: var(--primary-dark); color: rgba(255, 255, 255, .76); font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 28px; align-items: start; max-width: var(--container); margin: 0 auto; }
.footer__brand { margin: 0; color: #fff; font-weight: 800; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 17px; }
.site-footer nav a:hover { color: #fff; }
.footer__note { margin: 0; text-align: right; }
.footer__copyright { max-width: var(--container); margin: 36px auto 0; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; }

@media (max-width: 1080px) {
  .site-header { gap: 16px; }
  .header-nav { gap: 12px; }
  .hero { column-gap: 40px; padding-right: 24px; padding-left: 24px; }
  .section { padding-right: 24px; padding-left: 24px; }
  .release-status { padding-right: 24px; padding-left: 24px; }
}

@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .hero h1 { margin-bottom: 0; }
  .header-nav { display: none; }
  .site-header .button--small { margin-left: auto; }
  .problem-layout, .script-layout, .ideas-layout, .outputs-layout, .price-layout { grid-template-columns: 1fr; gap: 42px; }
  .ideas__visual { position: static; }
  .script__visual { order: 2; }
  .section__copy { max-width: 760px; }
  .price-summary { padding-top: 0; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 74px; }
  body { font-size: 15px; line-height: 1.8; }
  .site-header { min-height: 62px; padding: 9px 18px; }
  .brand { font-size: 14px; }
  .site-header .button--small { min-height: 40px; padding-inline: 13px; font-size: 11px; }
  h1 { font-size: clamp(34px, 10vw, 45px); }
  h2 { font-size: clamp(28px, 8vw, 35px); }
  h3 { font-size: 20px; }
  .hero { gap: 24px; padding: 36px 18px 64px; }
  .hero__lead { font-size: 17px; }
  .hero__price { font-size: 24px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; }
  .section { padding: 67px 18px; }
  .feature-grid, .management-screens, .fit-grid, .price-details { grid-template-columns: 1fr; }
  .feature-grid { gap: 14px; }
  .feature-card { padding: 21px 18px 18px; }
  .path-card, .fit-card, .price-column { padding-right: 20px; padding-left: 20px; }
  .outputs-layout { gap: 34px; }
  .management-screens { gap: 18px; }
  .faq summary { padding-top: 19px; padding-bottom: 19px; font-size: 16px; }
  .faq summary::after { top: 19px; }
  .release-status { padding: 61px 18px; }
  .final-cta { padding: 68px 18px; }
  .final-cta__price { font-size: 24px; }
  .site-footer { padding: 35px 18px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 17px; }
  .site-footer nav { justify-content: flex-start; }
  .footer__note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
