:root {
  --bg: #f6eef2;
  --bg-soft: #fbf6f8;
  --surface: #ffffff;
  --ink: #3a3340;
  --muted: #6f6675;
  --line: #ead8e0;
  --rose: #e39aa6;
  --rose-deep: #c97886;
  --mint: #8fc9b8;
  --mint-deep: #6eae9c;
  --peach: #f0c4a8;
  --lilac: #d4c2e0;
  --shadow: 0 12px 30px rgba(90, 60, 80, 0.08);
  --shadow-soft: 0 6px 18px rgba(90, 60, 80, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(240, 196, 168, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(143, 201, 184, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(212, 194, 224, 0.4), transparent 55%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--rose-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.inline-error {
  background: #fde2e6;
  color: #7a2e3a;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #f0b7c0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(251, 246, 248, 0.86);
  border-bottom: 1px solid rgba(234, 216, 224, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, var(--rose), var(--mint));
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  background: var(--rose);
  color: #fff !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
  background: var(--rose-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  padding: 10px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--rose), #eba8b0);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-mint {
  background: linear-gradient(135deg, var(--mint), #a8d9cb);
  color: #21483f;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

/* Home hero — asymmetric composition */
.hero-asymmetric {
  padding: 3.5rem 0 2rem;
}

.hero-asymmetric .hero-frame {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  min-height: min(72vh, 640px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 248, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(240, 196, 168, 0.35), transparent 50%);
  box-shadow: var(--shadow);
  animation: rise-in 0.8s ease both;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
}

.hero-copy .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--rose-deep);
  margin: 0 0 0.35em;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fade-scale 1s ease 0.15s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.hero-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  animation: rise-in 0.7s ease 0.25s both;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(145deg, rgba(227, 154, 166, 0.25), rgba(143, 201, 184, 0.3));
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(143, 201, 184, 0.25);
  color: #2f5f53;
  font-size: 0.8rem;
  font-weight: 800;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.quote-card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.quote-card cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.soft-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 232, 238, 0.85));
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.cta-band {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 196, 168, 0.55), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(143, 201, 184, 0.45), transparent 42%),
    #fff;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.1rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul, .prose ol {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #f8eef2;
  font-weight: 800;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff8fa, #fff);
  border: 1px solid rgba(227, 154, 166, 0.45);
  transform: translateY(-6px);
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.4rem 0 0.2rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

/* Forms */
.form-card {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fffdfd;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(227, 154, 166, 0.55);
  outline-offset: 1px;
  border-color: var(--rose);
}

[aria-invalid="true"] {
  border-color: #d66a7a;
}

.field-error {
  color: #a13d4d;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  background: #e5f6f0;
  color: #1f5a4a;
}

.form-status.is-error {
  background: #fde8eb;
  color: #7a2e3a;
}

.contact-aside {
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(143, 201, 184, 0.2), rgba(255, 255, 255, 0.9));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-heading {
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  animation: rise-in 0.45s ease both;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(70, 40, 60, 0.16);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.cookie-banner-inner p {
  margin: 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* FAQ */
.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: mod;
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  font-family: var(--font-display);
  color: var(--rose-deep);
  font-weight: 700;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.rating {
  color: var(--rose-deep);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.illust {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-scale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .hero-asymmetric .hero-frame,
  .grid-3,
  .price-grid,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: rgba(251, 246, 248, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-cta {
    text-align: center;
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
