/*
 * EunoiaPro Trainer page (page-eunoia-trainer.php)
 * Every rule is scoped under .ept so it does not leak into the theme
 * header/footer, and resets the theme's own h1-h4 / p / a / ul styles inside it.
 */

@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/marcellus.ttf) format('truetype'); }
/* Rubik is a variable font: one file per character range covers weights 400-700 */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/rubik-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/rubik-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20B9; }

.ept {
  --ept-bg: #FDFBF2;
  --ept-ink: #332E45;
  --ept-head: #19152A;
  --ept-body: #4A4460;
  --ept-muted: #5B5570;
  --ept-faint: #8A82A3;
  --ept-violet: #6B5FD6;
  --ept-indigo: #4F3FE0;
  --ept-lilac: #CFC6F7;
  --ept-lilac-hover: #BDB1F3;
  --ept-btn-ink: #211A4D;
  --ept-line: #ECE6FB;
  --ept-rule: #F0EAFB;
  --ept-pink: #D6568F;
  --ept-pink-soft: #FBD6E7;
  --ept-pink-ink: #93275F;
  --ept-tint: #F3EFFC;
  --ept-cream: #FCF8EF;

  background: var(--ept-bg);
  color: var(--ept-ink);
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.ept *, .ept *::before, .ept *::after { box-sizing: border-box; }
.ept a { color: inherit; text-decoration: none; }
.ept h1, .ept h2, .ept h3, .ept h4 { font-family: 'Marcellus', serif; font-weight: 400; margin: 0; color: var(--ept-head); letter-spacing: normal; text-transform: none; }
.ept p { margin: 0; }
.ept ul { margin: 0; padding: 0; list-style: none; }
.ept img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ept * { transition: none !important; }
}

/* ---------- Layout ---------- */
.ept-section { background: #FFFFFF; border-top: 1px solid var(--ept-rule); }
.ept-section--tint { background: var(--ept-tint); }
.ept-section--cream { background: var(--ept-cream); }
.ept-section--bottom { border-bottom: 1px solid var(--ept-rule); }
.ept-wrap { max-width: 1140px; margin: 0 auto; padding: 48px 16px; }
.ept-wrap--lg { padding-top: 56px; padding-bottom: 56px; }
.ept-wrap--narrow { max-width: 820px; }
.ept-center { text-align: center; }

.ept-h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; max-width: 640px; }
.ept-center .ept-h2 { margin-left: auto; margin-right: auto; }
.ept-lead { font-size: 0.98rem; color: var(--ept-body); line-height: 1.55; margin-top: 10px !important; max-width: 680px; }
.ept-lead + .ept-lead { margin-top: 14px !important; }
.ept-center .ept-lead { margin-left: auto; margin-right: auto; max-width: 620px; }

.ept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.ept-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ept-grid--220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* "Real client hours are limited" cards: 2 x 2 so each card is wider and shorter.
   Sizes in px + !important because the theme's 20px root font and
   "main p { 18px !important }" otherwise make these cards very tall. */
.ept-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ept .ept-grid--2 .ept-feature { padding: 18px 24px; }
@media (max-width: 700px) {
  .ept-grid--2 { grid-template-columns: minmax(0, 1fr); }
}
.ept-grid--wide { gap: 22px 28px; margin-top: 36px; }
.ept-grid--tight { gap: 16px; margin-top: 24px; }

.ept-split { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.ept-split__text { flex: 2 1 380px; min-width: 0; }
.ept-split__text .ept-lead { max-width: 560px; }

/* ---------- Buttons ---------- */
/* Matches the site's "Get Beta Invite" button (eunoia-pro-app page). */
.ept .ept-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #BDBFFF; color: #000000; font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 500; line-height: 18.6px; letter-spacing: normal; text-transform: capitalize; padding: 13px 30px; border: 1px solid #BDBFFF; border-radius: 11px; cursor: pointer; transition: all 0.3s; }
.ept .ept-btn:hover, .ept .ept-btn:focus-visible { background: #F7C974; border-color: #F7C974; color: #000000; }
.ept .ept-btn:focus-visible, .ept .ept-card-link:focus-visible, .ept-faq summary:focus-visible { outline: 2px solid var(--ept-indigo); outline-offset: 3px; }

/* ---------- Hero ---------- */
.ept-hero { background: linear-gradient(180deg, #FCF3DF 0%, #FDFBF2 70%); }
.ept-hero .ept-wrap { padding: 56px 16px 44px; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.ept-hero__text { flex: 1 1 440px; min-width: 0; }
.ept-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.14; max-width: 580px; }
.ept-hero__lead { font-size: 1.05rem; max-width: 500px; margin-top: 16px !important; color: var(--ept-body); line-height: 1.5; }
.ept-hero__cta { margin-top: 12px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* "Try 3 AI Sessions for Free" line above the Sign-Up buttons */
.ept .ept-cta-note { margin: 26px 0 0 !important; font-family: 'Rubik', sans-serif !important; font-size: 17px !important; line-height: 1.4 !important; font-weight: 600 !important; color: var(--ept-indigo) !important; }
.ept .ept-cta-note--center { text-align: center; margin: 24px 0 0 !important; }
.ept .ept-cta-note--center + .ept-signup { margin-top: 12px; }
.ept-signup { align-items: center; }

/* ---------- Photo slot ---------- */
.ept-photo { border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #EFEAFB 0%, #F6E7EF 100%); border: 1px solid var(--ept-line); }
.ept-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ept-photo--hero { flex: 1 1 320px; min-width: 260px; aspect-ratio: 4 / 3; }
.ept-photo--square { flex: 1 1 220px; min-width: 200px; aspect-ratio: 1 / 1; }

/* ---------- Cards ---------- */
.ept-feature { height: 100%; background: #FFFFFF; border: 1px solid var(--ept-line); border-left: 4px solid var(--ept-violet); border-radius: 14px; padding: 20px 22px; box-shadow: 0 2px 10px rgba(25,21,42,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.ept-feature:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(25,21,42,0.08); }
.ept-feature h4 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.ept-feature p { font-size: 0.98rem; line-height: 1.5; color: var(--ept-muted); }
.ept .ept-card-link { display: block; cursor: pointer; border-radius: 14px; }

.ept-card { background: #FFFFFF; border: 1px solid var(--ept-line); border-radius: 16px; padding: 20px; }
.ept-card h4 { font-size: 1rem; margin: 0 0 6px; color: var(--ept-indigo); }
.ept-card p { font-size: 0.88rem; color: var(--ept-muted); }

.ept-result { background: #FFFFFF; border: 1px solid var(--ept-line); border-radius: 16px; padding: 22px; }
.ept-result h4 { font-size: 1.15rem; margin: 0 0 8px; }
.ept-result p { font-size: 0.95rem; line-height: 1.5; color: var(--ept-muted); }

/* ---------- Session arc ---------- */
.ept-arc { position: relative; margin-top: 36px; }
.ept-arc__line { position: absolute; top: 27px; left: 60px; right: 60px; height: 2px; background: var(--ept-line); z-index: 0; }
.ept-arc__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.ept-arc__dot { width: 54px; height: 54px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--ept-violet); color: var(--ept-indigo); font-family: 'Marcellus', serif; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin: 0 auto; box-shadow: 0 2px 8px rgba(25,21,42,0.06); }
.ept-arc__dot--plus { border-color: var(--ept-pink); color: var(--ept-pink); }
.ept-arc h4 { font-size: 1rem; margin: 14px 0 4px; }
.ept-arc p { font-size: 0.86rem; color: var(--ept-muted); }
.ept-arc + .ept-grid { margin-top: 40px; }
@media (max-width: 760px) { .ept-arc__line { display: none; } }

/* ---------- Report ---------- */
.ept-report { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.ept-report__text { flex: 1 1 440px; min-width: 260px; }
.ept-report__text .ept-lead { max-width: 480px; }
.ept-checks { margin-top: 20px !important; display: flex; flex-direction: column; gap: 12px; }
.ept-checks li { font-size: 0.95rem; color: var(--ept-ink); display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.ept-checks li::before { content: '\2713'; color: var(--ept-indigo); font-weight: 700; }
.ept-callout { background: #FFFFFF; border: 1px solid var(--ept-line); border-left: 4px solid var(--ept-pink); border-radius: 14px; padding: 16px 20px; font-size: 0.92rem; color: var(--ept-body); line-height: 1.5; margin-top: 20px; }

.ept-score { flex: 1 1 340px; min-width: 280px; padding: 24px; }
.ept-score__head { display: flex; gap: 16px; align-items: center; }
.ept-score__ring { width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--ept-indigo) 0% 74%, var(--ept-line) 74% 100%); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ept-score__ring span { width: 58px; height: 58px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--ept-head); font-family: 'Marcellus', serif; }
.ept-score__label { font-size: 0.78rem; color: var(--ept-faint); }
.ept-score__status { font-weight: 700; color: var(--ept-indigo); font-size: 1rem; }
.ept-bars { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.ept-bar__row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ept-ink); margin-bottom: 5px; }
.ept-bar__track { background: var(--ept-line); border-radius: 999px; height: 7px; overflow: hidden; }
.ept-bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--ept-indigo); }
.ept-score__note { font-size: 0.76rem; color: var(--ept-faint); margin-top: 14px !important; }

/* ---------- Pricing ---------- */
.ept-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 32px; text-align: left; }
.ept-price { background: #FFFFFF; border: 1px solid var(--ept-line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(25,21,42,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease; position: relative; }
.ept-price:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(25,21,42,0.1); }
.ept-price--highlight { border: 2px solid var(--ept-violet); background: linear-gradient(180deg, #F3EFFC 0%, #FFFFFF 65%); box-shadow: 0 10px 28px rgba(79,63,224,0.16); }
.ept-price__badge { position: absolute; top: -12px; right: 20px; background: var(--ept-violet); color: #FFFFFF; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; }
.ept .ept-price__name { font-family: 'Rubik', system-ui, sans-serif; font-size: 1.1rem; margin: 0; color: var(--ept-pink); font-weight: 700; }
.ept-price__amount { font-family: 'Marcellus', serif; font-size: 1.9rem; color: var(--ept-indigo); margin: 14px 0 2px; }
.ept-price__amount small { font-size: 0.8rem; color: var(--ept-faint); font-family: 'Rubik', sans-serif; }
.ept-price__meta { font-size: 0.92rem; color: var(--ept-ink); font-weight: 500; }
.ept-price__sub { margin: 4px 0 0 !important; font-size: 0.82rem; color: var(--ept-faint); }
.ept-student-note { font-size: 14.6px; font-weight: 700; font-style: italic; color: var(--ept-faint); margin-top: 18px !important; }
.ept-signup { display: flex; gap: 16px; justify-content: center; margin-top: 20px; flex-wrap: wrap; scroll-margin-top: 120px; }

/* ---------- FAQ ---------- */
.ept-faq { margin-top: 28px; text-align: left; }
.ept-faq details { border-bottom: 1px solid var(--ept-line); padding: 18px 0; }
.ept-faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--ept-head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ept-faq summary::-webkit-details-marker { display: none; }
.ept-faq summary::after { content: '+'; font-size: 1.3rem; color: var(--ept-indigo); flex: 0 0 auto; }
.ept-faq details[open] summary::after { content: '\2013'; }
.ept-faq p { margin-top: 10px !important; font-size: 0.92rem; color: var(--ept-muted); line-height: 1.55; }

/* ---------- Pricing modal ---------- */
.ept-modal { display: none; position: fixed; inset: 0; z-index: 99999; padding: 20px; align-items: center; justify-content: center; overflow-y: auto; }
.ept-modal:target, .ept-modal.is-open { display: flex; }
.ept-modal__backdrop { position: fixed; inset: 0; background: rgba(25,21,42,0.55); }
.ept-modal__dialog { position: relative; background: #FFFFFF; border-radius: 20px; padding: 32px; width: 100%; max-width: 440px; margin: auto; box-shadow: 0 20px 60px rgba(25,21,42,0.35); }
.ept .ept-modal__close { position: absolute; top: 14px; right: 16px; font-size: 1.4rem; color: var(--ept-faint); line-height: 1; }
.ept-modal h3 { font-size: 1.4rem; margin: 0 0 6px; padding-right: 24px; }
.ept-modal__intro { font-size: 0.92rem; color: var(--ept-muted); margin: 0 0 20px !important; }
.ept-modal__plan { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--ept-btn-ink); background: var(--ept-tint); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.ept-modal__plan:empty { display: none; }

.ept-form { display: flex; flex-direction: column; gap: 14px; }
.ept-form label, .ept-form__legend { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ept-ink); margin: 0; }
.ept-form input[type="text"], .ept-form input[type="email"], .ept-form input[type="tel"], .ept-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ept-line); background: #FFFFFF; color: var(--ept-ink); font-size: 0.95rem; font-family: 'Rubik', sans-serif; box-shadow: none; }
.ept-form input:focus, .ept-form textarea:focus { outline: 2px solid var(--ept-lilac); outline-offset: 0; border-color: var(--ept-violet); }
.ept-form textarea { resize: vertical; }
.ept-form__legend { margin-bottom: 8px; }
.ept-choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.ept-radio { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
.ept .ept-pill { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ept-line); font-size: 0.82rem; font-weight: 400; cursor: pointer; color: var(--ept-ink); background: #FFFFFF; }
.ept .ept-radio:checked + .ept-pill { background: var(--ept-lilac); border-color: var(--ept-lilac); color: var(--ept-btn-ink); font-weight: 600; }
.ept .ept-radio:focus-visible + .ept-pill { outline: 2px solid var(--ept-indigo); outline-offset: 2px; }
.ept-student-offer { display: none; flex-basis: 100%; background: var(--ept-pink-soft); border-radius: 12px; padding: 12px 14px; margin-top: 4px; }
#ept-prof-student:checked ~ .ept-student-offer { display: block; }
.ept-student-offer p { margin: 0 0 10px !important; font-size: 0.85rem; color: var(--ept-pink-ink); font-weight: 600; }
.ept .ept-student-offer label { font-size: 0.82rem; color: var(--ept-pink-ink); }
.ept-student-offer input[type="file"] { display: block; width: 100%; margin-top: 6px; font-size: 0.85rem; }
.ept-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ept .ept-form .ept-btn { margin-top: 6px; }
.ept-notice { border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; line-height: 1.45; }
.ept-notice--ok { background: #E3F4EF; color: #1E6B5C; }
.ept-notice--err { background: var(--ept-pink-soft); color: var(--ept-pink-ink); }

/* ---------- Box text sizes ----------
   The design file was built on a 16px base. The site uses a 20px base and forces
   "main p, main li { font-size: 18px !important }", which made every box ~25% larger.
   These pin each box's heading and copy to the design size + about 1px, in px. */
.ept .ept-feature h4 { font-size: 17px !important; line-height: 1.3 !important; margin: 0 0 6px !important; }
.ept .ept-feature p { font-size: 15px !important; line-height: 1.5 !important; margin: 0 !important; }

.ept .ept-card h4 { font-size: 16px !important; line-height: 1.3 !important; }
.ept .ept-card p { font-size: 14px !important; line-height: 1.5 !important; margin: 0 !important; }

.ept .ept-result h4 { font-size: 17px !important; line-height: 1.3 !important; }
.ept .ept-result p { font-size: 15px !important; line-height: 1.5 !important; margin: 0 !important; }

.ept .ept-price__name { font-size: 18.5px !important; line-height: 1.3 !important; }
.ept .ept-price__amount { font-size: 31px !important; line-height: 1.2 !important; }
.ept .ept-price__amount small { font-size: 13.5px !important; }
.ept .ept-price__meta { font-size: 15.5px !important; line-height: 1.45 !important; margin: 0 !important; }
.ept .ept-price__sub { font-size: 14px !important; line-height: 1.45 !important; }
.ept .ept-price__badge { font-size: 12px !important; }

.ept .ept-callout { font-size: 15.5px !important; }
.ept .ept-checks li { font-size: 16px !important; line-height: 1.5 !important; }

.ept .ept-score__label { font-size: 13.5px !important; }
.ept .ept-score__status { font-size: 17px !important; }
.ept .ept-score__ring span { font-size: 21.5px !important; }
.ept .ept-bar__row { font-size: 14.5px !important; }
.ept .ept-score__note { font-size: 13px !important; }

.ept .ept-arc h4 { font-size: 17px !important; line-height: 1.3 !important; }
.ept .ept-arc p { font-size: 14.5px !important; line-height: 1.45 !important; margin: 0 !important; }

.ept .ept-faq summary { font-size: 17px !important; }
.ept .ept-faq p { font-size: 15.5px !important; line-height: 1.55 !important; }
