:root {
  --base: #ffffff;
  --base-2: #f8f8f7;
  --ink: #302b35;
  --muted: #736d78;
  --surface: #ffffff;
  --line: #e2ded8;
  --blush: #e6d1d2;
  --blush-deep: #8f6269;
  --sky: #f3f5f6;
  --butter: #f2eee6;
  --mint: #f1f4f1;
  --wood: #5c4537;
  --shadow: 0 24px 52px -38px rgba(30, 26, 24, 0.26);
  --font-body: "Noto Sans JP", "Nunito", sans-serif;
  --font-heading: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--base);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--base);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(48, 43, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 46px, rgba(48, 43, 53, 0.02) 46px 47px, transparent 47px 72px);
  background-size: 72px 100%, 72px 100%;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--base);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  padding-block: 0.72rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(30, 26, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-cta,
.button,
.lesson-ticket,
.squish-card,
.course-card,
.diagnosis-card,
.price-card,
.faq-list details,
.contact-form,
.scene-card {
  border-radius: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(30, 26, 24, 0.08);
  color: var(--blush-deep);
  font-family: var(--font-heading);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.42rem;
  border: 1px solid rgba(232, 227, 221, 0.82);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(30, 26, 24, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 999px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  color: rgba(74, 63, 85, 0.78);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
  color: var(--ink);
  background: rgba(48, 43, 53, 0.05);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: var(--base);
  box-shadow: 0 10px 20px rgba(74, 63, 85, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(30, 26, 24, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.48fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  padding: clamp(8rem, 13vw, 12rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: 0.72;
  transform: scale(1.03);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.24) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.94), transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(840px, 100%);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood);
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.24;
}

h3 {
  font-family: "Noto Sans JP", "Nunito", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.34;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4.6vw, 4rem);
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 4rem);
}

.section h2 {
  font-size: clamp(1.75rem, 3.25vw, 3rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.75rem);
}

p {
  line-height: 1.78;
}

.hero-lead {
  width: min(630px, 100%);
  margin: 1.2rem 0 0;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  color: rgba(74, 63, 85, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  font-weight: 900;
  min-width: 0;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border-radius: 999px;
}

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

.button.primary {
  background: var(--ink);
  color: var(--base);
  box-shadow: 0 18px 30px rgba(30, 26, 24, 0.16);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 16px 28px rgba(30, 26, 24, 0.08);
}

.lesson-ticket {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  max-width: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 54px -32px rgba(30, 26, 24, 0.28);
  backdrop-filter: blur(12px);
  animation: ticketFloat 5.8s ease-in-out infinite;
  transform-origin: 50% 55%;
  will-change: transform, box-shadow;
}

.lesson-ticket::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(48, 43, 53, 0.035));
}

.lesson-ticket p {
  overflow-wrap: anywhere;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.ticket-top span {
  color: var(--muted);
  font-weight: 800;
}

.ticket-top strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.mini-keyboard {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  margin: 1.15rem 0;
  padding: 0.45rem 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafafa;
}

.mini-keyboard span {
  position: relative;
  height: 52px;
  border: 1px solid rgba(48, 43, 53, 0.08);
  border-radius: 6px 6px 10px 10px;
  background: #fff;
  box-shadow: inset 0 -9px 0 rgba(48, 43, 53, 0.045);
}

.mini-keyboard span:nth-child(2)::before,
.mini-keyboard span:nth-child(3)::before,
.mini-keyboard span:nth-child(5)::before,
.mini-keyboard span:nth-child(6)::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -9px;
  z-index: 1;
  width: 15px;
  height: 30px;
  border-radius: 0 0 5px 5px;
  background: #2f2a33;
  box-shadow: 0 6px 14px rgba(30, 26, 24, 0.18);
}

.note-rain {
  display: none;
}

.site-note-rain {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.site-note-rain span {
  position: absolute;
  top: -3rem;
  left: var(--x, 50%);
  color: rgba(143, 98, 105, 0.46);
  font-family: "Noto Serif JP", serif;
  font-size: var(--size, 1.25rem);
  line-height: 1;
  opacity: 0;
  text-shadow: 0 10px 24px rgba(48, 43, 53, 0.1);
  animation: noteFall var(--duration, 13s) linear infinite;
  animation-delay: var(--delay, 0s);
  mix-blend-mode: multiply;
}

.site-note-rain span:nth-child(1) {
  --x: 4%;
  --size: 1.2rem;
  --duration: 13s;
  --delay: -1s;
}

.site-note-rain span:nth-child(2) {
  --x: 14%;
  --size: 0.95rem;
  --duration: 17s;
  --delay: -6s;
}

.site-note-rain span:nth-child(3) {
  --x: 26%;
  --size: 1.45rem;
  --duration: 15s;
  --delay: -10s;
}

.site-note-rain span:nth-child(4) {
  --x: 38%;
  --size: 0.9rem;
  --duration: 18s;
  --delay: -3s;
}

.site-note-rain span:nth-child(5) {
  --x: 51%;
  --size: 1.25rem;
  --duration: 16s;
  --delay: -8s;
}

.site-note-rain span:nth-child(6) {
  --x: 63%;
  --size: 1rem;
  --duration: 19s;
  --delay: -12s;
}

.site-note-rain span:nth-child(7) {
  --x: 75%;
  --size: 1.35rem;
  --duration: 20s;
  --delay: -15s;
}

.site-note-rain span:nth-child(8) {
  --x: 88%;
  --size: 0.9rem;
  --duration: 14s;
  --delay: -5s;
}

.site-note-rain span:nth-child(9) {
  --x: 96%;
  --size: 1.25rem;
  --duration: 18s;
  --delay: -13s;
}

.site-note-rain span:nth-child(10) {
  --x: 20%;
  --size: 1.1rem;
  --duration: 21s;
  --delay: -18s;
}

.site-note-rain span:nth-child(11) {
  --x: 69%;
  --size: 0.95rem;
  --duration: 22s;
  --delay: -20s;
}

.site-note-rain span:nth-child(12) {
  --x: 44%;
  --size: 1.05rem;
  --duration: 19s;
  --delay: -16s;
}

.trust-strip {
  overflow: hidden;
  border-block: 1px solid rgba(74, 63, 85, 0.1);
  background: #fff;
  color: var(--ink);
}

.strip-track {
  display: flex;
  width: max-content;
  gap: 0.8rem;
  padding: 0.75rem 0;
  animation: marquee 28s linear infinite;
}

.strip-track span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--base-2);
  font-weight: 900;
  white-space: nowrap;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.section-head {
  max-width: 860px;
  margin: 0 auto clamp(2rem, 5vw, 3.8rem);
  text-align: center;
}

.section-head h2 {
  line-break: strict;
  text-wrap: balance;
}

.hero-copy h1 {
  line-break: strict;
  text-wrap: auto;
}

.section-index {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.85;
  color: rgba(48, 43, 53, 0.08);
}

.feature-grid,
.course-grid,
.price-grid,
.scene-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

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

.squish-card,
.course-card,
.price-card,
.diagnosis-card,
.faq-list details,
.contact-form,
.scene-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px -34px rgba(30, 26, 24, 0.26);
}

.squish-card {
  padding: clamp(1.2rem, 2.4vw, 1.65rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.squish-card:hover,
.course-card:hover,
.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px -36px rgba(30, 26, 24, 0.34);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Nunito", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.card-icon.sky {
  background: #fff;
}

.card-icon.butter {
  background: #fff;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(1.3rem, 5vw, 4rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.image-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img,
.course-card img,
.scene-card img,
.proof-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  padding: clamp(1rem, 3vw, 2rem);
}

.story-copy h2 {
  font-size: clamp(1.75rem, 3.6vw, 3.2rem);
}

.story-copy .section-index,
.story-copy .eyebrow,
.story-copy h2,
.diagnosis-copy .section-index,
.diagnosis-copy .eyebrow,
.diagnosis-copy h2,
.proof-copy .section-index,
.proof-copy .eyebrow,
.proof-copy h2 {
  text-align: center;
}

.wp-dropcap::first-letter {
  float: left;
  padding: 0.08em 0.12em 0 0;
  color: var(--wood);
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 0.75;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.step-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 26, 24, 0.06);
  font-weight: 900;
}

.scene-section {
  border-block: 1px solid var(--line);
  background: #fbfbfa;
}

.scene-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.scene-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  margin: 0;
}

.scene-card.large {
  grid-row: span 2;
  min-height: 620px;
}

.scene-card figcaption {
  position: absolute;
  inset: auto 0.85rem 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.32));
  box-shadow: 0 14px 32px rgba(30, 26, 24, 0.1);
  backdrop-filter: blur(4px) saturate(1.08);
  font-size: clamp(0.92rem, 0.9vw, 1rem);
  font-weight: 700;
  line-height: 1.62;
  line-break: auto;
  overflow-wrap: normal;
  text-align: center;
  text-wrap: pretty;
  word-break: normal;
  font-feature-settings: "palt";
}

.scene-card figcaption span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--wood);
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.course-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card > div {
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
}

.course-card p {
  margin-block: 0.7rem;
}

.course-card ul {
  display: grid;
  gap: 0.45rem;
  margin: auto 0 0;
  padding-left: 1.1rem;
}

.course-tag {
  align-self: flex-start;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}

.course-tag.sky {
  background: #fff;
}

.course-tag.butter {
  background: #fff;
}

.course-tag.mint {
  background: #fff;
}

.diagnosis {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(290px, 1fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px -44px rgba(30, 26, 24, 0.28);
}

.diagnosis-card {
  padding: clamp(1rem, 3vw, 2rem);
}

.question-step {
  display: none;
}

.question-step.active {
  display: grid;
  gap: 0.65rem;
  animation: bloomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.question-step button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.question-step button:hover {
  transform: translateY(-2px) scale(1.01);
  background: var(--base-2);
}

.question-label {
  margin: 0;
  color: var(--wood);
  font-family: "Nunito", "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(48, 43, 53, 0.2);
  border-radius: 18px;
  background: #fbfbfa;
}

.proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
  background: #28242d;
  color: var(--base);
}

.proof .eyebrow,
.proof .section-index {
  color: rgba(234, 211, 214, 0.74);
}

blockquote {
  position: relative;
  margin: 1.3rem 0 0;
  padding-left: 1.1rem;
  border-left: 4px solid rgba(234, 211, 214, 0.72);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.quote-name {
  color: rgba(255, 248, 242, 0.68);
  font-weight: 800;
}

.proof-panel {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.proof-panel img {
  height: clamp(300px, 38vw, 460px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem;
}

.stats-grid div {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.12);
}

.stats-grid strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.stats-grid span {
  margin-left: 0.2rem;
  color: var(--butter);
  font-weight: 900;
}

.stats-grid p {
  margin: 0.2rem 0 0;
  color: rgba(255, 248, 242, 0.7);
  font-size: 0.9rem;
}

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

.price-card {
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
}

.price-card.featured {
  background: #2f2b35;
  color: var(--base);
  transform: translateY(-10px);
}

.price-card p {
  margin: 0 0 0.55rem;
  color: var(--wood);
  font-weight: 900;
}

.price-card.featured p {
  color: var(--blush);
}

.price-card strong {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.price-card span {
  color: rgba(74, 63, 85, 0.72);
}

.price-card.featured span {
  color: rgba(255, 248, 242, 0.74);
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0.4rem 0 0;
  color: rgba(74, 63, 85, 0.78);
}

.final-cta {
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 5rem) calc(clamp(5rem, 10vw, 8rem) + 12rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(48, 43, 53, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 72px 100%;
}

.final-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: left;
}

.final-inner > p:not(.eyebrow) {
  width: min(720px, 100%);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.8rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink);
}

.contact-form .button {
  grid-column: 1 / -1;
  width: 100%;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  text-align: left;
  color: var(--muted);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem) calc(2rem + 5.2rem);
  background: #25222a;
  color: var(--base);
}

.footer > div {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.footer p {
  margin: 0;
  color: rgba(255, 248, 242, 0.64);
  text-align: right;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(430px, calc(100% - 2rem));
  min-height: 58px;
  padding: 0.95rem 1.35rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: #302b35;
  color: var(--base);
  box-shadow:
    0 18px 38px rgba(30, 26, 24, 0.22),
    0 0 0 5px rgba(255, 255, 255, 0.54);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transform: translateX(-50%);
  animation: floatingCtaGlow 3.4s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta::before {
  content: "";
  position: absolute;
  inset: -70% auto -70% -42%;
  z-index: 0;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84), transparent);
  transform: skewX(-18deg) translateX(-160%);
  animation: floatingCtaShine 3.6s ease-in-out infinite;
}

.floating-cta span {
  position: relative;
  z-index: 2;
}

.floating-cta:hover {
  transform: translate(-50%, -2px);
  box-shadow:
    0 20px 42px rgba(30, 26, 24, 0.26),
    0 0 0 5px rgba(255, 255, 255, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.68s cubic-bezier(0.34, 1.2, 0.64, 1), transform 0.68s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.reveal-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes slowZoom {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.6%, 0);
  }
}

@keyframes noteFall {
  0% {
    opacity: 0;
    transform: translate3d(-8px, -8vh, 0) rotate(-10deg);
  }
  12% {
    opacity: 0.58;
  }
  82% {
    opacity: 0.46;
  }
  100% {
    opacity: 0;
    transform: translate3d(10px, 118vh, 0) rotate(14deg);
  }
}

@keyframes ticketFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    box-shadow: 0 24px 54px -32px rgba(30, 26, 24, 0.28);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(-0.35deg);
    box-shadow: 0 30px 62px -34px rgba(30, 26, 24, 0.34);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes bloomIn {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  70% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 18px 30px rgba(30, 26, 24, 0.16);
  }
  50% {
    box-shadow: 0 22px 42px rgba(30, 26, 24, 0.22);
  }
}

@keyframes ringPop {
  from {
    transform: scale(0.86);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatingCtaGlow {
  0%,
  100% {
    box-shadow:
      0 18px 38px rgba(30, 26, 24, 0.22),
      0 0 0 5px rgba(255, 255, 255, 0.54);
  }
  50% {
    box-shadow:
      0 20px 42px rgba(30, 26, 24, 0.26),
      0 0 0 5px rgba(255, 255, 255, 0.68);
  }
}

@keyframes floatingCtaShine {
  0%,
  42% {
    transform: skewX(-18deg) translateX(-160%);
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  68%,
  100% {
    transform: skewX(-18deg) translateX(560%);
    opacity: 0;
  }
}

.magnetic {
  animation: pulseGlow 2.6s ease-in-out infinite;
}

:focus-visible {
  outline: 3px solid rgba(154, 103, 112, 0.34);
  outline-offset: 4px;
}

::selection {
  background: rgba(234, 211, 214, 0.82);
  color: var(--ink);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .image-band,
  .diagnosis,
  .proof {
    grid-template-columns: 1fr;
  }

  .lesson-ticket {
    max-width: 420px;
  }

  .feature-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .scene-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .scene-card.large {
    grid-row: auto;
    min-height: 420px;
  }

  .course-card {
    grid-template-columns: 0.82fr 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 0.85rem;
  }

  .brand span:last-child {
    max-width: 10em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-inline: 1.5rem;
  }

  .hero-copy {
    z-index: 2;
  }

  .site-note-rain span {
    color: rgba(143, 98, 105, 0.36);
  }

  .site-note-rain span:nth-child(1) {
    --x: 4%;
  }

  .site-note-rain span:nth-child(2) {
    --x: 92%;
  }

  .site-note-rain span:nth-child(3) {
    --x: 12%;
  }

  .site-note-rain span:nth-child(4) {
    --x: 86%;
  }

  .site-note-rain span:nth-child(n + 7) {
    display: none;
  }

  h1 {
    font-size: clamp(2.05rem, 8.4vw, 2.42rem);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.62rem, 7.4vw, 1.95rem);
  }

  .story-copy h2 {
    font-size: 1.7rem;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.56) 54%, rgba(255, 255, 255, 0.94) 100%);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .floating-cta {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 2.15rem);
    width: calc(100% - 1.5rem);
    min-height: 56px;
    padding-inline: 1rem;
    font-size: 0.95rem;
  }

  .ticket-top strong {
    font-size: 1.38rem;
    white-space: nowrap;
  }

  .lesson-ticket {
    width: 100%;
    padding: 1.1rem;
  }

  .lesson-ticket::before {
    inset: -6px;
    border-radius: 26px;
  }

  .ticket-top {
    gap: 0.55rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .course-card {
    grid-template-columns: 1fr;
  }

  .course-card img {
    height: 260px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .scene-card,
  .scene-card.large {
    min-height: 340px;
  }

  .scene-card figcaption {
    inset: auto 0.7rem 0.7rem;
    padding: 0.78rem 0.82rem;
    font-size: clamp(0.78rem, 3.15vw, 0.86rem);
    font-weight: 700;
    line-height: 1.72;
    line-break: loose;
    text-align: left;
  }

  .scene-card figcaption span {
    text-align: left;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
