:root {
  --navy: #29496f;
  --navy-deep: #1e3857;
  --aqua: #61d6ca;
  --aqua-pale: #e9f9f7;
  --pink: #e84b91;
  --ink: #26384d;
  --muted: #647386;
  --cream: #fbfaf7;
  --white: #ffffff;
  --line: #dcefea;
  --shadow: 0 18px 50px rgba(39, 71, 107, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  width: min(1200px, calc(100% - 48px));
  min-height: 126px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 220px;
}

.header-link {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid var(--aqua);
  padding: 8px 0 5px;
}

.hero {
  width: min(1320px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 78px clamp(30px, 7vw, 100px);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, #f2fbfa 0%, #e4f7f4 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
}

.hero::before {
  width: 270px;
  height: 270px;
  right: -95px;
  top: -100px;
}

.hero::after {
  width: 160px;
  height: 160px;
  left: 42%;
  bottom: -80px;
}

.hero-content,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy-deep);
}

h1 {
  max-width: 700px;
  margin-bottom: 25px;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1::after {
  content: "";
  width: 112px;
  height: 8px;
  margin-top: 22px;
  display: block;
  border-radius: 99px;
  background: var(--aqua);
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 34px;
  color: #4d6177;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.time-note {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 23px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 12px 28px rgba(232, 75, 145, 0.24);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #d83d81;
  box-shadow: 0 16px 34px rgba(232, 75, 145, 0.32);
}

.hero-art {
  min-height: 500px;
}

.circle-path {
  width: min(420px, 36vw);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 52%;
  border: 2px dashed rgba(41, 73, 111, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.portrait-frame {
  width: min(340px, 30vw);
  aspect-ratio: 4 / 5;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  border: 8px solid var(--aqua);
  border-radius: 28px;
  background: var(--white);
  transform: translate(-48%, -50%) rotate(2deg);
  box-shadow: 0 30px 80px rgba(62, 164, 155, 0.14);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% center;
}

.movement-card {
  width: 108px;
  min-height: 58px;
  padding: 12px 14px;
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: center;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  font-family: "Playfair Display", serif;
  font-size: 1.06rem;
  line-height: 1.12;
}

.movement-card span {
  display: none;
  color: var(--pink);
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.movement-card-one {
  top: 15%;
  left: 8%;
}

.movement-card-two {
  right: 5%;
  top: 42%;
}

.movement-card-three {
  left: 4%;
  bottom: 14%;
}

.feeling,
.why-rotation {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.access-hero,
.practice-library {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.access-hero {
  padding: 86px 0 96px;
  text-align: center;
}

.access-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.access-hero h1::after {
  margin-left: auto;
  margin-right: auto;
}

.access-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.feeling {
  padding: 110px 0 120px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.signup-copy h2,
.why-rotation h2,
.safety-note h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-grid article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-grid h3 {
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 1.08rem;
}

.benefit-grid p,
.signup-copy p,
.why-rotation p,
.safety-note p {
  color: var(--muted);
}

.collection-heading {
  margin-bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.collection-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.collection-heading > p {
  max-width: 430px;
  margin-bottom: 3px;
  color: var(--muted);
}

.practice-library {
  padding: 92px 0 112px;
  position: relative;
}

.practice-library::before {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: var(--cream);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(39, 71, 107, 0.08);
}

.thumbnail {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--aqua-pale);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}

.play {
  width: 58px;
  height: 58px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: rgba(232, 75, 145, 0.92);
  transform: translate(-50%, -50%);
}

.play::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-left: 17px solid var(--white);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.video-copy {
  padding: 22px;
}

.video-copy p {
  margin-bottom: 5px;
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin-bottom: 18px;
  color: var(--navy-deep);
  font-size: 1.16rem;
  line-height: 1.2;
}

.watch {
  color: var(--navy);
  font-weight: 700;
}

.signup-band {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
  align-items: center;
  border-radius: 8px;
  background: var(--cream);
}

.signup-copy p {
  max-width: 620px;
  margin-top: 20px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 0;
  top: 0.55em;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 5px var(--aqua-pale);
}

.signup-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  margin-bottom: 18px;
  padding: 0 15px;
  border: 1px solid #cfe3df;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.signup-form input:focus {
  outline: 3px solid rgba(97, 214, 202, 0.28);
  border-color: var(--aqua);
}

.signup-form button {
  width: 100%;
}

.privacy-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.why-rotation {
  padding: 112px 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: end;
}

.why-rotation > p {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.safety-note {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto 120px;
  padding: 36px;
  display: flex;
  gap: 24px;
  border: 1px solid #f0d6e2;
  border-radius: 8px;
  background: #fff8fb;
}

.safety-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--pink);
  font-size: 1.4rem;
  font-weight: 700;
}

footer {
  padding: 56px 24px 64px;
  text-align: center;
  background: var(--aqua-pale);
}

footer img {
  width: 190px;
  margin: 0 auto 18px;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
}

footer p {
  margin-bottom: 12px;
  color: var(--muted);
}

footer a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 104px;
  }

  .hero,
  .signup-band,
  .why-rotation,
  .collection-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 56px 26px;
  }

  .hero-art {
    min-height: 410px;
  }

  .portrait-frame {
    width: min(320px, 68vw);
  }

  .circle-path {
    width: min(390px, 78vw);
  }

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

  .signup-band {
    padding: 44px 28px;
  }

  .why-rotation {
    padding: 90px 0;
    gap: 22px;
  }

  .collection-heading {
    display: grid;
    gap: 18px;
  }

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

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 32px, 1200px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .brand img {
    width: 190px;
  }

  .header-link {
    font-size: 0.7rem;
  }

  .hero,
  .feeling,
  .signup-band,
  .why-rotation,
  .safety-note,
  .access-hero,
  .practice-library {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 360px;
  }

  .movement-card {
    width: 96px;
    min-height: 52px;
    padding: 10px 12px;
    font-size: 0.96rem;
  }

  .movement-card-one {
    left: 2%;
  }

  .movement-card-two {
    right: 2%;
  }

  .movement-card-three {
    left: 2%;
  }

  .feeling {
    padding: 82px 0 88px;
  }

  .signup-form {
    padding: 24px;
  }

  .safety-note {
    margin-bottom: 82px;
    padding: 26px;
    flex-direction: column;
  }

  .access-hero {
    padding: 66px 0 76px;
  }

  .practice-library {
    padding: 72px 0 84px;
  }

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