/* Mademoiself Academy: huisstijl van Mademoiself Styling */
:root {
  --rose: #C46883;
  --rose-dark: #A34B67;
  --rose-darker: #7E3550;
  --coral: #F18F93;
  --peach: #F8BF8E;
  --blush: #FBEDEF;
  --blush-2: #F6D6DB;
  --cream: #FCF6F7;
  --line: #F0E1E5;
  --input: #DCC9CF;
  --text: #333333;
  --muted: #5F5F5F;
  --green: #2F6544;
  --green-bg: #E7F2EA;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Catamaran, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--rose-dark); }
a:hover { color: var(--rose-darker); }
h1, h2, h3 { line-height: 1.2; }
.serif { font-family: var(--serif); font-weight: 500; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { margin: 0 0 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; color: var(--rose-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 2px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #F3E3E7; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 58px; width: auto; display: block; }
.brand span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose-dark); border-left: 1px solid #EBCBD4; padding-left: 12px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 600; font-size: 17px; }
.nav a { text-decoration: none; color: var(--text); }
.nav a.active { color: var(--rose-dark); border-bottom: 2px solid var(--rose-dark); }
.nav form { margin: 0; }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--rose-dark); color: #fff; }
.btn-primary:hover { background: var(--rose-darker); color: #fff; }
.btn-light { background: #fff; color: var(--rose-dark); }
.btn-outline { background: #fff; color: var(--rose-dark); border-color: var(--rose-dark); }
.btn-outline:hover { background: var(--blush); color: var(--rose-darker); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--input); }
.btn-success { background: var(--green-bg); color: var(--green); border-color: #BFDDC8; }
.btn-sm { font-size: 16px; padding: 9px 20px; }
.btn-block { width: 100%; }
.nav .btn { color: #fff; }

/* Flash */
.flash { background: var(--blush); color: var(--rose-darker); border-radius: 14px; padding: 14px 20px; margin: 24px 0 0; font-weight: 600; }
.errors { background: #FDECEC; color: #8A1C1C; border-radius: 14px; padding: 14px 20px; margin: 0 0 8px; }
.errors ul { margin: 0; padding-left: 18px; }

/* Hero */
.hero { background: linear-gradient(100deg, #E9E7EC 0%, #F3D9D9 55%, #F8BF8E 100%); overflow: hidden; }
.hero .wrap { padding-top: 96px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 58px); line-height: 1.12; color: var(--rose-dark); }
.hero .sub { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: 24px; }
.hero p.lead { margin: 16px 0 0; max-width: 560px; color: #4D4D4D; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.dots { flex: 1 1 340px; display: flex; justify-content: center; }
.dots .canvas { position: relative; width: 340px; height: 340px; max-width: 100%; }
.dots .canvas div { position: absolute; border-radius: 50%; }

/* Sections */
.section { padding: 88px 0 32px; }
.section h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 44px); color: var(--rose); }
.section .intro { margin: 8px 0 0; color: var(--muted); }

/* Course cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 40px; }
.card { text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { color: var(--text); box-shadow: 0 14px 40px rgba(163,75,103,.12); transform: translateY(-2px); }
.card-visual { height: 190px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; }
.swatch { width: 54px; height: 54px; border-radius: 50%; display: block; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .eyebrow { margin: 0; font-size: 14px; letter-spacing: .08em; }
.card-body h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25; }
.card-body p { margin: 0; color: var(--muted); font-size: 17px; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 700; font-size: 20px; }
.more { font-weight: 700; color: var(--rose-dark); }
.empty { border: 2px dashed var(--line); border-radius: 20px; padding: 40px; text-align: center; color: var(--muted); margin-top: 32px; }

/* Steps */
.steps-box { background: var(--cream); border-radius: 28px; padding: 56px 48px; }
.steps-box h2 { text-align: center; font-size: 38px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; margin-top: 40px; }
.step { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--rose-dark); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.step h3 { margin: 8px 0 0; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }

/* Webinar rows */
.rows { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 24px; border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; }
.row.soft { background: var(--cream); border-color: transparent; }
.date-chip { width: 92px; text-align: center; background: var(--blush); border-radius: 14px; padding: 12px 0; flex: none; }
.date-chip .m { font-size: 14px; font-weight: 700; color: var(--rose-dark); text-transform: uppercase; }
.date-chip .d { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.row-main { flex: 999 1 340px; min-width: 0; }
.row-main h3 { margin: 0; font-size: 22px; }
.row-main p { margin: 4px 0 0; color: var(--muted); font-size: 17px; }
.row-side { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; color: var(--rose-darker); background: var(--blush-2); }
.badge-green { color: var(--green); background: var(--green-bg); }
.badge-grey { color: #555; background: #EEE; }

/* Footer */
.site-footer { background: var(--rose-dark); color: #fff; }
main > .section:last-child, main > .wrap:last-child { padding-bottom: 88px; }
.site-footer .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer img { height: 60px; width: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.site-footer a { color: #fff; }

/* Course page */
.course-head { background: var(--cream); }
.course-head .wrap { padding-top: 32px; padding-bottom: 64px; }
.crumbs { margin: 0; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.course-head .cols { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-top: 28px; }
.course-head h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.15; color: var(--rose-dark); }
.course-head .lead { margin: 20px 0 0; font-size: 20px; color: #4D4D4D; max-width: 560px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #2E2A2C; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 10px; text-align: center; padding: 20px; }
.course-body { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 64px; padding-bottom: 32px; }
.course-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.course-main h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--rose); }
.prose { color: #444; }
.prose p:first-child { margin-top: 0; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 500; color: var(--rose-dark); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; margin: 20px 0 0; padding: 0; list-style: none; }
.checks li, .ticks li { display: flex; gap: 12px; }
.checks svg, .ticks svg { flex: none; margin-top: 5px; }
.lesson-list { list-style: none; margin: 20px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.lesson-list li { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.lesson-list li:last-child { border-bottom: 0; }
.lesson-list .n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--blush); color: var(--rose-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.lesson-list .t { flex: 1; }
.lesson-list a { color: var(--text); }
.buybox { flex: 1 1 340px; min-width: 0; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 40px rgba(163,75,103,.08); position: sticky; top: 24px; }
.buybox .big { font-family: var(--serif); font-size: 40px; line-height: 1; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.about { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--cream); border-radius: 20px; padding: 28px; }

/* Forms */
.panel { background: #fff; border-radius: 22px; padding: 36px; }
.page-soft { background: var(--cream); min-height: 70vh; }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; }
.field input[type=text], .field input[type=email] { font: inherit; font-size: 17px; padding: 12px 16px; border: 1px solid var(--input); border-radius: 12px; background: #fff; width: 100%; }
.field input:focus { outline: 2px solid var(--rose-dark); outline-offset: 1px; border-color: transparent; }
.field input[readonly] { background: #F7F2F3; color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--rose-dark); flex: none; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-methods span { border: 1px solid var(--input); border-radius: 10px; padding: 6px 12px; font-size: 15px; font-weight: 700; background: #fff; }
.checkout-cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.checkout-cols > .panel:first-child { flex: 999 1 520px; min-width: 0; }
.summary { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.summary .item { display: flex; gap: 16px; align-items: center; }
.thumb { width: 72px; height: 72px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.thumb i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.totals { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.totals div { display: flex; justify-content: space-between; }
.totals .total { font-weight: 700; font-size: 20px; margin-top: 6px; }

/* Account */
.account-head { background: var(--cream); }
.account-head .wrap { padding-top: 56px; padding-bottom: 56px; }
.account-head h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 46px); color: var(--rose-dark); }
.grid-mine { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 28px; }
.mine { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.mine .thumb { width: 120px; height: 120px; border-radius: 16px; gap: 5px; }
.mine .thumb i { width: 24px; height: 24px; }
.mine .info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mine h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.bar { height: 8px; border-radius: 999px; background: #F3E3E7; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--rose-dark); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table-box { overflow-x: auto; margin-top: 20px; }

/* Learn */
.learn-head .wrap { max-width: 1280px; }
.learn { max-width: 1200px; margin: 0 auto; padding: 36px 32px 80px; display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.learn-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.learn-main h1 { margin: 4px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); }
.learn-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.learn-title form { margin: 0; }
.download { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; max-width: 520px; }
.download .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blush); display: flex; align-items: center; justify-content: center; }
.pager { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; flex-wrap: wrap; }
.sidebar { flex: 1 1 320px; min-width: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sidebar .top { padding: 22px 24px; background: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.sidebar .top div:first-child { display: flex; justify-content: space-between; font-weight: 700; }
.side-lesson { display: flex; align-items: center; gap: 14px; padding: 15px 24px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 16px; }
.side-lesson.current { background: var(--blush); font-weight: 700; box-shadow: inset 4px 0 0 var(--rose-dark); }
.side-lesson.locked { color: #8A8A8A; }
.dot { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid var(--input); color: var(--muted); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dot.done { background: var(--rose-dark); border-color: var(--rose-dark); }
.preview-note { background: var(--blush); border-radius: 16px; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .brand img { height: 46px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .dots { display: none; }
  .steps-box { padding: 40px 24px; }
  .panel { padding: 24px; }
  .learn { padding: 24px 20px 64px; }
}
