:root {
  --ink: #153845;
  --muted: #55707a;
  --blue: #2e91ba;
  --sky: #dff4f7;
  --green: #29d27a;
  --green-dark: #0ca95a;
  --apricot: #f4a25d;
  --cream: #fffaf0;
  --paper: #fffdf8;

  --container: 600px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #e7eef0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.page {
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(21, 56, 69, 0.08);
}

.section {
  position: relative;
  overflow: hidden;
}

.texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- eyebrow / kicker ---------- */

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
}

.section-title {
  margin: 10px 0 28px;
  text-align: center;
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 900;
}

/* ---------- hero ---------- */

.hero {
  padding: 44px var(--gutter) 40px;
  text-align: center;
  background: linear-gradient(180deg, #fffdf6 0%, #f8fcf8 72%, #e6f5f6 100%);
}

.hero .content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero h1 .accent {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 9px;
  border-radius: 50%;
  background: var(--apricot);
  opacity: 0.38;
  transform: rotate(-1.2deg);
  z-index: -1;
}

.hero .lead {
  margin: 0 auto;
  max-width: 440px;
  color: #395966;
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 600;
}

.hero .lead strong {
  color: var(--ink);
  font-weight: 900;
}

.hero-photo {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  aspect-ratio: 588 / 720;
  background: #bfdce3;
  box-shadow: 0 16px 40px rgba(20, 63, 78, 0.2);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 44, 58, 0.14) 67%, rgba(10, 44, 58, 0.78) 100%);
}

.photo-caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  text-align: left;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
}

.photo-caption span {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--apricot);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: none;
}

.photo-caption p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 900;
}

/* ---------- video section ---------- */

.learn {
  padding: 48px var(--gutter) 56px;
  background: #eaf7f8;
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 24px;
  aspect-ratio: 588 / 480;
  box-shadow: 0 14px 34px rgba(28, 79, 94, 0.18);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 59%;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 39, 53, 0.05), rgba(7, 39, 53, 0.26));
}

.play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(10, 47, 61, 0.26);
  transition: transform 0.2s ease;
}

.play::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid var(--apricot);
}

.video-card:active .play {
  transform: translate(-50%, -50%) scale(0.94);
}

/* ---------- mid cta ---------- */

.mid-cta {
  color: #fff;
  text-align: center;
  background: #1a596f;
  aspect-ratio: 727 / 1000;
}

.mid-cta .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.mid-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 38, 53, 0.14) 0%, rgba(5, 38, 53, 0.42) 46%, rgba(5, 38, 53, 0.88) 100%);
}

.mid-cta .inner {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  top: 32px;
  padding: 28px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  background: rgba(9, 46, 60, 0.74);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.mid-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 6vw, 27px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.mid-cta p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 600;
}

/* ---------- profile ---------- */

.profile {
  padding: 56px var(--gutter) 40px;
  background: var(--cream);
}

.profile .section-title { margin-bottom: 20px; }

.profile-photo {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 24px;
  aspect-ratio: 729 / 510;
  box-shadow: 0 14px 34px rgba(23, 65, 77, 0.16);
  margin-bottom: 24px;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
}

.profile-copy {
  margin: 0 0 24px;
  color: #405e68;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.profile-copy strong {
  color: var(--ink);
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.stat {
  padding: 16px 8px 14px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(40, 81, 91, 0.08);
}

.stat b {
  display: block;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: #60777e;
  font-size: 11.5px;
  font-weight: 800;
}

.before-after {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 73, 85, 0.14);
  margin-bottom: 20px;
}

.before-after img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.closing-quote {
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--apricot);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 900;
}

/* ---------- CTA button ---------- */

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  border-radius: 32px;
  background: linear-gradient(135deg, #29d27a 0%, #17bb67 52%, #0ca95a 100%);
  color: #fff;
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 2px 5px rgba(0, 90, 43, 0.18);
  box-shadow:
    0 12px 24px rgba(15, 170, 88, 0.3),
    0 4px 10px rgba(15, 120, 70, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.cta-btn:active { transform: translateY(1px); }

/* ---------- sticky cta ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 14px 16px calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(231, 238, 240, 0) 0%, rgba(231, 238, 240, 0.94) 28%, rgba(231, 238, 240, 0.94) 100%);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .cta-btn {
  position: relative;
  overflow: hidden;
  max-width: calc(var(--container) - 32px);
  margin: 0 auto;
  animation: cta-pulse 1.7s ease-in-out infinite;
}

.sticky-cta .cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: cta-shine 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 12px 24px rgba(15, 170, 88, 0.3),
      0 4px 10px rgba(15, 120, 70, 0.18),
      inset 0 2px 0 rgba(255, 255, 255, 0.3),
      0 0 0 0 rgba(41, 210, 122, 0.35);
  }
  50% {
    transform: scale(1.065);
    box-shadow:
      0 18px 36px rgba(15, 170, 88, 0.42),
      0 6px 16px rgba(15, 120, 70, 0.24),
      inset 0 2px 0 rgba(255, 255, 255, 0.35),
      0 0 0 10px rgba(41, 210, 122, 0.14);
  }
}

@keyframes cta-shine {
  0% { left: -60%; }
  40% { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta .cta-btn,
  .sticky-cta .cta-btn::after { animation: none; }
  .sticky-cta { transition: none; }
  .video-card:active .play { transform: translate(-50%, -50%); }
}

/* ---------- footer ---------- */

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter) calc(96px + env(safe-area-inset-bottom));
  background: var(--cream);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #9aa9ad;
  font-size: 11px;
}

/* ---------- larger screens ---------- */

@media (min-width: 700px) {
  :root { --gutter: 40px; }

  .hero { padding-top: 64px; }
  .profile { padding-bottom: 48px; }
}
