:root {
  --bg: #f4f1ea;
  --bg-soft: #ece7dc;
  --ink: #1f2a23;
  --ink-soft: #3a4640;
  --muted: #6b7269;
  --accent: #1f3a2a;
  --accent-deep: #16291e;
  --border: rgba(31, 42, 35, 0.12);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
  text-align: center;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-buy {
  background: var(--accent);
  color: #fff;
  border-radius: 22px;
}

.btn-buy:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.25);
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(31px, 5.5vw, 62px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
  word-break: break-word;
  padding-bottom: 0.08em;
}

.hero-title-line {
  display: block;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin: 0 0 48px;
  padding: 0 8px;
}

.hero-cta-after {
  margin: 40px 0 0;
}

.hero-image-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-mobile {
  display: none;
}

.pitch {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  text-align: center;
}

.demo {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 120px;
  text-align: center;
}

.demo-video-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-note {
  margin: 36px auto 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

.cta-note + .cta-note {
  margin-top: 6px;
}

.cta-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.cta-note a:hover {
  color: var(--accent-deep);
}

.pitch-text {
  font-size: clamp(14px, 1.8vw, 23px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.005em;
  word-break: break-word;
}

.pitch-seg {
  display: inline;
}

.pitch-seg + .pitch-seg::before,
.pitch-break + .pitch-seg::before {
  content: " ";
}

.pitch-break {
  display: none;
}

.pitch-break-desktop {
  display: block;
  height: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer p {
  margin: 0;
  max-width: var(--max-width);
  margin-inline: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 860px) {
  .brand {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .hero {
    padding: 36px 18px 0;
  }

  .hero-image-wrap {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    aspect-ratio: auto;
  }

  .hero-image {
    height: auto;
  }

  .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .demo {
    padding: 0 0 72px;
  }

  .demo-video-wrap {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    aspect-ratio: auto;
  }

  .demo-video {
    height: auto;
  }

  .cta-note {
    font-size: 13px;
    padding: 0 18px;
    margin-top: 28px;
  }

  .hero-title {
    font-size: clamp(21px, 5.9vw, 38px);
    line-height: 1.15;
    margin: 0 0 24px;
  }

  .hero-cta {
    margin: 0 0 32px;
  }

  .hero-cta-after {
    margin: 28px 0 0;
  }

  .btn {
    padding: 14px 26px;
    font-size: 15px;
  }


  .pitch {
    padding: 56px 18px 72px;
  }

  .pitch-text {
    font-size: clamp(11px, 2.6vw, 16px);
    line-height: 1.5;
  }

  .pitch-break-desktop {
    display: none;
  }

  .pitch-break-mobile {
    display: block;
    height: 0;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .hero {
    padding: 28px 16px 0;
  }

  .hero-title {
    font-size: clamp(18px, 5.5vw, 27px);
    line-height: 1.18;
    margin: 0 0 20px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 14px;
  }

  .btn-buy {
    border-radius: 18px;
  }


  .pitch {
    padding: 44px 16px 56px;
  }

  .pitch-text {
    font-size: clamp(10px, 2.6vw, 13px);
  }

  .footer {
    padding: 22px 16px;
    font-size: 12px;
  }
}
