:root {
  --ink: #17202a;
  --muted: #5f6f7d;
  --subtle: #edf3f2;
  --line: #dbe5e3;
  --paper: #ffffff;
  --soft: #f7faf9;
  --teal: #0f766e;
  --teal-dark: #0b5d58;
  --mint: #dff7ee;
  --blue: #2563eb;
  --amber: #b7791f;
  --rose: #9f4664;
  --shadow: 0 18px 60px rgba(23, 32, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(23, 32, 42, 0.08);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 229, 227, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero {
  min-height: 92vh;
  padding: 128px 0 82px;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbfa 0%, #fff 100%);
}

.hero-inner,
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.88rem;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4.25vw, 4rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.45;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: #41505d;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-light {
  color: var(--teal-dark);
  background: #fff;
  box-shadow: 0 12px 30px rgba(4, 49, 46, 0.15);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.trust-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.product-panel {
  position: relative;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 15px 18px;
  background: #eef5f3;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #9fb3b0;
}

.app-layout {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 500px;
}

.app-side {
  padding: 20px 14px;
  background: #102b2a;
  color: #d5e4e2;
}

.app-logo {
  margin-bottom: 24px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.side-item {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  text-align: left;
  font-size: 0.82rem;
}

.side-item.active {
  color: #083330;
  background: var(--mint);
  font-weight: 800;
}

.app-main {
  padding: 24px;
  background: #fbfdfc;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #53626f;
  font-size: 0.8rem;
  font-weight: 800;
}

.select-row,
.textarea-mock,
.history-list,
.result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.select-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  color: #1d2c35;
  font-weight: 700;
}

.history-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}

.history-list span {
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
  color: #50606d;
  font-size: 0.82rem;
}

.textarea-mock {
  min-height: 96px;
  padding: 13px;
  color: #40505d;
  font-size: 0.92rem;
}

.generate-btn {
  width: 100%;
  min-height: 48px;
  margin-bottom: 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.result-card {
  padding: 15px;
  border-color: rgba(15, 118, 110, 0.28);
  background: #f3fbf8;
}

.result-card p {
  margin-bottom: 0;
}

.result-label {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.metric-strip {
  position: absolute;
  right: 24px;
  bottom: -34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(420px, calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.metric-strip div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  font-size: 1.25rem;
  color: var(--teal);
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
}

.pain {
  background: #fff;
}

.pain-copy {
  color: #455664;
  font-size: 1.05rem;
}

.pain-copy p:last-child {
  margin-bottom: 0;
}

.free,
.benefits,
.faq {
  background: var(--soft);
}

.screen-section {
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p,
.section-text {
  color: var(--muted);
  font-size: 1.04rem;
}

.flow-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-grid article,
.benefit-grid article,
.template-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 32, 42, 0.02);
}

.flow-grid article {
  min-height: 232px;
  padding: 24px;
}

.flow-grid span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--teal);
  font-weight: 900;
}

.flow-grid p,
.benefit-grid p,
.template-card li {
  color: var(--muted);
}

.screen-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.screen-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.screen-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #25414a;
  background: var(--soft);
  font-weight: 800;
  font-size: 0.9rem;
}

.screen-shot {
  margin: 0;
}

.screen-crop {
  overflow: hidden;
  height: clamp(360px, 48vw, 620px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-crop img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.template-card {
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.template-card:nth-child(2) .icon {
  background: var(--blue);
}

.template-card:nth-child(3) .icon {
  background: var(--amber);
}

.template-card:nth-child(4) .icon {
  background: var(--rose);
}

.template-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.template-card li {
  position: relative;
  padding-left: 18px;
}

.template-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--teal);
}

.how {
  background: #fff;
}

.how-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbfa, #fff);
  box-shadow: var(--shadow-soft);
}

.step-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

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

.step-row span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.step-row p {
  margin: 0;
  font-weight: 800;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

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

.benefit-grid article {
  padding: 26px;
}

.difference {
  background: #fff;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.difference-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.difference-grid .highlight-card {
  border-color: rgba(15, 118, 110, 0.3);
  background: linear-gradient(180deg, #f1fbf8, #fff);
  box-shadow: var(--shadow-soft);
}

.difference-grid p {
  color: var(--muted);
}

.signup-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 43, 42, 0.95), rgba(15, 118, 110, 0.94)),
    #102b2a;
}

.signup-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.signup-content h2 {
  max-width: 760px;
}

.signup-content p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
}

.signup-content .section-kicker {
  color: var(--mint);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

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

.final-cta {
  padding: clamp(82px, 10vw, 130px) 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(223, 247, 238, 0.52), rgba(255, 255, 255, 0)),
    #fff;
}

.final-cta-inner {
  max-width: 820px;
}

.final-cta p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--teal);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-inner,
  .split,
  .reverse {
    grid-template-columns: 1fr;
  }

  .product-panel {
    margin-top: 12px;
  }

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

  .screen-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    padding: 0 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero-inner,
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding: 96px 0 68px;
  }

  .hero-actions,
  .signup-content,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .app-logo {
    grid-column: 1 / -1;
    margin: 0;
  }

  .side-item {
    margin: 0;
    text-align: center;
  }

  .app-main {
    padding: 16px;
  }

  .history-list,
  .template-grid,
  .benefit-grid,
  .difference-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .screen-crop {
    height: 430px;
  }

  .metric-strip {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .metric-strip div {
    padding: 12px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
