:root {
  --ink: #10201f;
  --muted: #5d706e;
  --foam: #f4fbf8;
  --paper: #fffdf8;
  --teal: #0b7f78;
  --teal-dark: #07504e;
  --coral: #e97963;
  --pearl: #fff7dc;
  --line: rgba(16, 32, 31, 0.14);
  --shadow: 0 24px 60px rgba(16, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(233, 121, 99, 0.15), transparent 28rem),
    linear-gradient(160deg, var(--paper), var(--foam) 48%, #e7f5f1);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.brand,
.nav,
.hero-actions,
.proof-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(16, 32, 31, 0.1);
}

.brand-mark.large {
  width: 4rem;
  height: 4rem;
}

.nav {
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--teal-dark);
}

.hero {
  min-height: calc(100svh - 4.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow,
.tag {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  max-width: 11ch;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.hero-text,
.section-heading,
.contact-section p,
.success-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 38rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.proof-strip {
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.proof-strip span,
.style-list span,
.credential-grid span,
.trial-notes span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--teal-dark);
  background: rgba(255, 253, 248, 0.62);
  font-size: 0.9rem;
  font-weight: 800;
}

.button,
.checkout-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal-dark);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11, 127, 120, 0.18);
}

.primary,
.checkout-button {
  color: white;
  background: var(--teal-dark);
}

.ghost {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.55);
}

.checkout-button {
  width: 100%;
  margin-top: auto;
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.hero-visual {
  position: relative;
  min-height: clamp(21rem, 45vw, 39rem);
  isolation: isolate;
}

.art-shell {
  position: absolute;
  inset: 4% 0 5% 6%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.76), rgba(244, 251, 248, 0.42)),
    radial-gradient(circle at 18% 12%, rgba(233, 121, 99, 0.2), transparent 13rem);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  overflow: hidden;
}

.art-shell::before {
  content: "";
  position: absolute;
  inset: auto -12% -16% -12%;
  height: 38%;
  background:
    radial-gradient(ellipse at 26% 50%, rgba(11, 127, 120, 0.18), transparent 40%),
    radial-gradient(ellipse at 70% 45%, rgba(233, 121, 99, 0.2), transparent 38%);
  filter: blur(16px);
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(88%, 30rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(16, 32, 31, 0.16);
}

.art-note {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.4rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(255, 247, 220, 0.82);
  box-shadow: 0 16px 36px rgba(16, 32, 31, 0.12);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.note-one {
  top: 9%;
  left: 2%;
  transform: rotate(-12deg);
}

.note-two {
  right: 3%;
  bottom: 18%;
  transform: rotate(10deg);
}

.pearl {
  position: absolute;
  z-index: 2;
  width: 4.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, white, var(--pearl) 58%, #dfb98a);
  box-shadow: 0 16px 36px rgba(16, 32, 31, 0.16);
}

.pearl-one {
  top: 3%;
  right: 3%;
}

.pearl-two {
  left: 6%;
  bottom: 4%;
  width: 2.7rem;
}

.section,
.contact-section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.lesson-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lesson,
.price-card,
.teacher-section,
.comparison-table,
.testimonial-grid figure,
.faq-list details,
.success-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 45px rgba(16, 32, 31, 0.07);
}

.lesson,
.price-card,
.testimonial-grid figure,
.faq-list details {
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.lesson-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--coral);
  font-weight: 800;
}

.lesson p,
.price-card p {
  color: var(--muted);
  line-height: 1.65;
}

.pricing-section {
  background: rgba(255, 255, 255, 0.28);
  border-block: 1px solid var(--line);
}

.styles-section,
.how-section,
.testimonials-section {
  padding-top: 0;
}

.style-list,
.credential-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.teacher-section,
.trial-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.teacher-portrait {
  position: relative;
  min-height: 24rem;
}

.teacher-portrait::before {
  content: "";
  position: absolute;
  inset: 6% -4% -6% 8%;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(233, 121, 99, 0.42), rgba(11, 127, 120, 0.28)),
    rgba(255, 247, 220, 0.5);
}

.teacher-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.teacher-copy p,
.trial-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.credential-grid {
  margin-top: 1.5rem;
}

.price-card {
  min-height: 25rem;
  display: flex;
  flex-direction: column;
}

.trial-card {
  background: rgba(255, 247, 220, 0.72);
}

.trial-card .button {
  width: 100%;
  margin-top: auto;
}

.gift-card {
  background:
    linear-gradient(rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.72)),
    radial-gradient(circle at 82% 18%, rgba(233, 121, 99, 0.24), transparent 12rem);
}

.price-card.featured {
  background: var(--ink);
  color: white;
}

.price-card.featured p:not(.price):not(.tag) {
  color: rgba(255, 255, 255, 0.74);
}

.price-card.featured .checkout-button {
  color: var(--ink);
  background: var(--pearl);
  border-color: var(--pearl);
}

.price {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
}

.featured .price {
  color: white;
}

.trial-section {
  background:
    linear-gradient(130deg, rgba(7, 80, 78, 0.08), rgba(255, 247, 220, 0.34)),
    rgba(255, 255, 255, 0.2);
  border-block: 1px solid var(--line);
}

.trial-actions,
.trial-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.trial-actions {
  margin-top: 1.7rem;
}

.trial-notes {
  align-content: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 45px rgba(16, 32, 31, 0.07);
}

.comparison-table {
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.table-row span {
  padding: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.table-row:first-child span {
  border-top: 0;
}

.table-row span + span {
  border-left: 1px solid var(--line);
}

.table-head span {
  color: var(--ink);
  background: rgba(255, 247, 220, 0.58);
  font-weight: 900;
}

.testimonial-grid figure {
  margin: 0;
}

.testimonial-grid blockquote {
  margin: 0 0 1.4rem;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.testimonial-grid figcaption {
  color: var(--teal-dark);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-section div {
  max-width: 46rem;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.success-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.success-panel {
  max-width: 40rem;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.success-panel h1 {
  max-width: none;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .lesson-grid,
  .pricing-grid,
  .testimonial-grid,
  .teacher-section,
  .trial-section {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .teacher-portrait {
    min-height: 18rem;
  }

  .table-row {
    min-width: 42rem;
  }

  .comparison-table {
    overflow-x: auto;
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  h1 {
    font-size: 3rem;
  }

  .hero-visual {
    min-height: 23rem;
  }

  .art-shell {
    inset: 0;
    border-radius: 24px;
  }

  .hero-art {
    width: min(86%, 20rem);
    border-radius: 18px;
  }

  .art-note {
    width: 2.8rem;
    font-size: 1.45rem;
  }
}
