:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #637083;
  --line: #dde4ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --brand: #0f766e;
  --brand-dark: #0b5f59;
  --accent: #2563eb;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.brand {
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 64px) clamp(44px, 6vw, 68px);
  background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 58%);
}

.hero-copy {
  max-width: 690px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

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

.lead {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 14px;
}

.hero-actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

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

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

.button.wide {
  width: 100%;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-media img,
.screenshot img {
  display: block;
  width: 100%;
}

.hero-media img {
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screenshot img {
  height: auto;
}

.section {
  padding: 88px clamp(20px, 5vw, 64px);
}

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

.steps,
.grid {
  display: grid;
  gap: 18px;
}

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

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

.step,
.info-card,
.pricing-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 800;
}

.step p,
.info-card p,
.pricing p,
.closing p,
figcaption {
  margin-bottom: 0;
  color: var(--muted);
}

.split,
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 4px solid var(--brand);
}

.feature-list span {
  color: var(--muted);
}

.screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

figcaption {
  padding: 12px 16px 16px;
  font-size: 13px;
}

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

.pricing {
  background: #f9fbfd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-box {
  max-width: 440px;
  justify-self: end;
  width: 100%;
  box-shadow: var(--shadow);
}

.price-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 800;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #edf2f7;
  color: #2d3748;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
}

.closing {
  padding: 86px 20px;
  text-align: center;
  background: #102a43;
  color: #ffffff;
}

.closing p {
  max-width: 620px;
  margin: 0 auto;
  color: #cbd5e1;
}

.closing .button.secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

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

@media (max-width: 960px) {
  .hero,
  .split,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .pricing-box {
    justify-self: start;
  }
}

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .hero-actions.center {
    flex-direction: column;
    align-items: stretch;
  }

  .steps,
  .grid.three {
    grid-template-columns: 1fr;
  }
}
