/* ==========================================================================
   alongside.ai — styles
   Change brand colours / fonts here (the "tokens") and the whole site follows.
   ========================================================================== */
:root {
  --forest: #203C32;
  --forest-2: #2E5245;
  --lilac: #C9B9F2;
  --lilac-soft: #E7DFFA;
  --chalk: #F7F6F2;
  --paper: #FFFFFF;
  --sage: #D9E0CF;
  --sage-soft: #E8ECDF;
  --ink: #1B2A24;
  --muted: #5B6A63;
  --line: #DCDAD2;
  --danger: #B4483B;
  --ok: #3C7A55;

  --font-head: "Nunito Sans", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(32, 60, 50, .10);
  --header-h: 72px;
  --bar-h: 58px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  padding-top: var(--header-h);
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--forest); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--forest); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.band { background: var(--sage); }
.band-soft { background: var(--sage-soft); }
.band-forest { background: var(--forest); color: var(--chalk); }
.band-forest h2, .band-forest h3 { color: var(--chalk); }

/* pencil underline motif */
.underline { position: relative; display: inline-block; }
.underline::after {
  content: ""; position: absolute; left: 0; bottom: -14px; width: 120px; height: 6px;
  background: var(--lilac); border-radius: 6px; transform: rotate(-1.5deg);
}
.eyebrow { font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--muted); margin-bottom: 12px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--forest); color: var(--chalk); }
.btn-primary:hover { background: var(--forest-2); }
.btn-lilac { background: var(--lilac); color: var(--forest); }
.btn-lilac:hover { background: #BBA8EE; }
.btn-ghost { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--chalk); }
.btn-link { background: none; border: 0; padding: 0; color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; font-family: var(--font-head); }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 8px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-danger { background: var(--danger); color: #fff; }

/* ---------- Header (fixed, always visible) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  background: rgba(247, 246, 242, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--forest); text-decoration: none; letter-spacing: -.03em; }
.logo span { color: #8D74D9; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--lilac); transition: width .2s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0; transition: .2s; }

/* ---------- Sticky bottom bar (always visible) ---------- */
.bottom-bar {
  position: fixed; inset: auto 0 0 0; height: var(--bar-h); z-index: 50;
  background: var(--forest); color: var(--chalk);
}
.bottom-bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bottom-bar .group { display: flex; align-items: center; gap: 12px; }
.bottom-bar .label { font-family: var(--font-head); font-size: .95rem; opacity: .85; }
.bottom-bar .btn { padding: 7px 14px; font-size: .9rem; }
.bottom-bar .btn-ghost { border-color: var(--chalk); color: var(--chalk); }
.bottom-bar .btn-ghost:hover { background: var(--chalk); color: var(--forest); }

/* ---------- Full footer ---------- */
.site-footer { background: var(--sage); padding: 64px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.contact-icons { display: flex; gap: 12px; margin: 12px 0; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--chalk); border: 1px solid var(--line); color: var(--forest); transition: .2s; }
.icon-btn:hover { background: var(--lilac); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(32,60,50,.2); margin-top: 40px; padding-top: 20px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.4rem; color: var(--ink); max-width: 30ch; margin-top: 28px; }
.hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 5/4; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 60px 0 0 60px; }

/* overlapping rectangles motif */
.motif { position: relative; width: 220px; height: 150px; }
.motif::before, .motif::after { content: ""; position: absolute; width: 70%; height: 70%; border-radius: 18px; border: 3px solid; }
.motif::before { border-color: var(--lilac); top: 0; left: 0; transform: rotate(-5deg); }
.motif::after { border-color: var(--forest); bottom: 0; right: 0; transform: rotate(-3deg); }

/* ---------- Value band (auto-jump target) ---------- */
.value-band { background: var(--sage); padding: 22px 0; }
.value-band .items { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; font-family: var(--font-head); font-weight: 600; color: var(--forest); font-size: 1.08rem; }
.value-band .items span + span::before { content: "·"; margin-right: 18px; opacity: .6; }
.value-band p { text-align: center; max-width: 70ch; margin: 10px auto 0; color: var(--ink); }
.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: inset 0 0 0 4px var(--lilac); } }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cards-3 .card { padding: 8px 32px; border-left: 1px solid var(--line); }
.cards-3 .card:first-child { border-left: 0; padding-left: 0; }
.card-icon { width: 46px; height: 46px; color: var(--forest); margin-bottom: 14px; }
.help-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 2px 0 rgba(32,60,50,.03); }

/* ---------- Pricing + timeline + laptop ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price-big { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--forest); }
.price-big small { font-size: 1.3rem; font-weight: 500; }
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; margin: 36px 0; }
.timeline::before { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; height: 2px; background: var(--forest); opacity: .35; }
.timeline .step { position: relative; padding-right: 12px; }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--forest); background: var(--chalk); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; position: relative; z-index: 1; transition: .3s; }
.timeline .step.done .dot { background: var(--forest); color: var(--chalk); }
.timeline .step h4 { font-size: 1rem; margin: 12px 0 4px; }
.timeline .step p { font-size: .92rem; color: var(--muted); margin: 0; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-card { border: 2px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 20px; text-align: left; transition: .2s; }
.plan-card:hover, .plan-card.selected { border-color: var(--forest); background: var(--sage-soft); transform: translateY(-3px); }
.plan-card h3 { margin-bottom: 4px; }

.laptop-stage { perspective: 1400px; display: grid; place-items: center; padding: 40px 0; }
.laptop { width: min(480px, 90%); position: relative; transform-style: preserve-3d; }
.laptop .lid {
  aspect-ratio: 16/10.5; background: #2a2f2c; border-radius: 16px 16px 4px 4px; padding: 12px;
  transform-origin: bottom center; transform: rotateX(-88deg); transition: transform .08s linear;
  box-shadow: 0 -2px 0 #3a403c inset;
}
.laptop .screen { width: 100%; height: 100%; background: var(--chalk); border-radius: 6px; padding: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; gap: 10px; opacity: 0; transition: opacity .3s; }
.laptop.open .screen { opacity: 1; }
.laptop .base { height: 16px; background: linear-gradient(#c9c9c4, #a9a9a3); border-radius: 0 0 18px 18px; width: 112%; margin-left: -6%; position: relative; }
.laptop .base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); background: #9a9a94; border-radius: 0 0 8px 8px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; }
.screen .line { height: 8px; border-radius: 4px; background: var(--sage); margin-bottom: 8px; }
.screen .line.l { background: var(--lilac); }
.screen .chip { font-family: var(--font-head); font-size: .7rem; padding: 3px 8px; border-radius: 99px; background: var(--forest); color: var(--chalk); }

/* ---------- Coaches carousel (auto scroll) ---------- */
.carousel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.carousel-track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; padding: 8px 0 20px; }
.carousel:hover .carousel-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.coach-card { width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; transition: transform .2s; }
.coach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.coach-photo { aspect-ratio: 1/1; display: grid; place-items: center; font-family: var(--font-head); font-size: 4rem; font-weight: 700; color: var(--forest); background: var(--lilac-soft); position: relative; overflow: hidden; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-card:nth-child(even) .coach-photo { background: var(--sage); }
.coach-body { padding: 16px 18px 20px; }
.coach-body h3 { margin: 0; }
.coach-body .role { color: var(--muted); font-size: .95rem; }
.tools { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tool { font-size: .75rem; font-family: var(--font-head); font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--chalk); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 5px; }
.tool i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.tool-logo { width: 26px; height: 26px; display: inline-block; flex: none; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.tool-logo.plain { -webkit-mask: none; mask: none; background: none; }
.tool-logo.plain svg { width: 100%; height: 100%; display: block; }
.tools:has(.tool-logo) { gap: 12px; align-items: center; }
.tool-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-pick button { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--chalk); font: inherit; font-size: .9rem; color: var(--forest); cursor: pointer; }
.tool-pick button .tool-logo { width: 22px; height: 22px; }
.tool-pick button.on { border-color: var(--forest); background: var(--lilac-soft); font-weight: 600; }

/* certificates slider */
.cert-track { display: flex; gap: 18px; width: max-content; animation: marquee 30s linear infinite reverse; }
.cert { width: 230px; aspect-ratio: 1.41/1; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--lilac); border-radius: 6px; pointer-events: none; }
.cert b { font-family: var(--font-head); color: var(--forest); font-size: 1.05rem; line-height: 1.2; }
.cert .seal { width: 34px; height: 34px; border-radius: 50%; background: var(--lilac); align-self: flex-end; display: grid; place-items: center; font-size: .8rem; color: var(--forest); font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; text-align: left; background: none; border: 0; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--forest); }
.faq-item .chev { transition: transform .3s; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-item .answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item .answer p { padding-bottom: 20px; margin: 0; color: var(--muted); }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Booking widget / calendar ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.back-link { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 600; margin-bottom: 20px; color: var(--muted); }
.back-link:hover { color: var(--forest); }
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.cal-head h3 { margin: 0; font-size: 1.15rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--chalk); }
.cal-nav button:hover { background: var(--lilac-soft); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.view-toggle button { border: 0; background: none; padding: 6px 14px; font-size: .88rem; font-weight: 600; }
.view-toggle button.on { background: var(--forest); color: var(--chalk); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 4px; text-align: center; background: var(--chalk); transition: .15s; }
.day .dow { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day .num { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.day.has { border-color: var(--forest); background: var(--paper); }
.day.has::after { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); margin: 4px auto 0; }
.day.sel { background: var(--forest); color: var(--chalk); border-color: var(--forest); }
.day.sel .dow { color: var(--lilac); }
.day[disabled] { opacity: .35; cursor: default; }
.month-grid .day { padding: 8px 2px; }
.month-grid .day .num { font-size: 1rem; }
.month-grid .day.blank { visibility: hidden; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; min-height: 46px; }
.slot { border: 1.5px solid var(--forest); background: var(--paper); color: var(--forest); border-radius: 10px; padding: 9px 14px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; transition: .15s; }
.slot:hover { background: var(--lilac-soft); }
.slot.sel { background: var(--lilac); }
.empty { color: var(--muted); font-style: italic; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line); background: var(--chalk); border-radius: 10px; padding: 12px 14px; outline: none; transition: border .15s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); background: var(--paper); }
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: .85rem; color: var(--muted); }
.error { color: var(--danger); font-size: .95rem; margin-top: 8px; }

.booked { text-align: center; padding: 30px 10px; }
.check { width: 84px; height: 84px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.check svg { width: 42px; height: 42px; stroke: var(--forest); stroke-width: 3; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .25s forwards; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.booked-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 20px; text-align: left; margin: 18px 0; background: var(--chalk); }

.next-steps { margin-top: 56px; }
.next-steps .timeline { grid-auto-columns: minmax(110px, 1fr); }
.next-steps .step { opacity: 0; transform: translateX(40px); }
.next-steps.in .step { animation: slideIn .5s forwards; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.pop-out { animation: popOut 1.2s ease 1.2s both; }
@keyframes popOut { 0% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-2deg); box-shadow: 0 0 0 10px rgba(201,185,242,.6); } 60% { transform: scale(.98); } 100% { transform: scale(1); } }

/* ---------- Quiz ---------- */
.quiz-shell { max-width: 820px; margin: 0 auto; }
.progress { height: 10px; background: var(--sage-soft); border-radius: 99px; overflow: hidden; margin-bottom: 36px; }
.progress div { height: 100%; background: var(--forest); width: 0; transition: width .4s ease; border-radius: 99px; }
.q-card { animation: qIn .45s ease; }
@keyframes qIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.q-card h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 28px 0; }
.choice { border: 2px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 20px 16px; text-align: center; transition: .18s; display: grid; gap: 10px; justify-items: center; }
.choice:hover { border-color: var(--forest); transform: translateY(-3px); }
.choice.on { border-color: var(--forest); background: var(--lilac-soft); box-shadow: 0 0 0 3px var(--lilac); }
.choices.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 18px; }
.choices.compact .choice { padding: 14px 10px; gap: 8px; }
.choices.compact .choice .pict { width: 34px; height: 34px; }
.choices.compact .choice b { font-size: .97rem; }
.choice-group { font-size: .95rem; margin: 18px 0 4px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.choice b { font-size: 1.05rem; }
.choice .pict { width: 44px; height: 44px; color: var(--forest); display: block; }
.choice .pict svg { width: 100%; height: 100%; }
.choice.on .pict { color: #6B52C2; }
/* AI-app logo picker */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; margin: 28px 0; align-items: start; }
.app { border: 2px solid var(--line); border-radius: var(--radius); background: transparent; transition: border-color .18s, box-shadow .18s, background .18s; }
.app:hover { border-color: var(--forest); }
.app.on { border-color: var(--forest); background: var(--paper); box-shadow: 0 0 0 3px var(--lilac); }
.app-main { width: 100%; background: none; border: 0; padding: 20px 10px 14px; display: grid; justify-items: center; gap: 8px; color: var(--forest); }
.app-main b { font-family: var(--font-head); font-size: 1.02rem; }
.app-logo { width: 52px; height: 52px; display: block; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: transform .2s; }
.app-picto { width: 52px; height: 52px; display: block; color: var(--forest); }
.app-picto svg { width: 100%; height: 100%; }
.app.on .app-logo, .app.on .app-picto { transform: scale(1.08); }
.app-sub { font-size: .82rem; color: #6B52C2; font-weight: 600; min-height: 1.1em; }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-height: 0; overflow: hidden; padding: 0 10px; opacity: 0; transition: max-height .35s ease, padding .35s ease, opacity .25s; }
.app.on .tiers { max-height: 260px; padding: 0 10px 16px; opacity: 1; }
.tier { border: 1.5px solid var(--forest); border-radius: 99px; padding: 6px 12px; background: var(--chalk); color: var(--forest); font-family: var(--font-head); font-weight: 600; font-size: .86rem; transition: .15s; }
.tier:hover { background: var(--lilac-soft); }
.tier.on { background: var(--forest); color: var(--chalk); }
.choice .emoji { font-size: 2.2rem; line-height: 1; }
.choice b { font-family: var(--font-head); color: var(--forest); }
.choice span { font-size: .9rem; color: var(--muted); }
.scale { margin: 40px 0; }
.scale input[type=range] { width: 100%; accent-color: var(--forest); height: 32px; }
.scale-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .95rem; }
.scale-value { font-family: var(--font-head); font-size: 4rem; font-weight: 700; color: var(--forest); text-align: center; line-height: 1; }
.scale-face { text-align: center; font-size: 3rem; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.profile { background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); animation: qIn .5s ease; }
.profile-head { background: var(--forest); color: var(--chalk); padding: 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.profile-head h2 { color: var(--chalk); margin: 0; }
.badge-level { width: 96px; height: 96px; border-radius: 50%; background: var(--lilac); color: var(--forest); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; text-align: center; font-size: .85rem; line-height: 1.1; padding: 10px; flex-shrink: 0; }
.profile-body { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.profile-body ul { padding-left: 20px; margin: 0; }
.meter { height: 12px; background: var(--sage-soft); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.meter div { height: 100%; background: linear-gradient(90deg, var(--lilac), var(--forest)); border-radius: 99px; width: 0; transition: width 1.2s ease; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--lilac-soft); color: var(--forest); font-weight: 600; font-size: .88rem; margin: 3px 4px 3px 0; }

/* ---------- About / apply ---------- */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.founder-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: var(--lilac-soft); display: grid; place-items: center; overflow: hidden; position: relative; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.apply-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.big-pay { font-size: clamp(3rem, 8vw, 6rem); }
.big-pay .amount { background: var(--lilac); padding: 0 .2em; border-radius: 16px; display: inline-block; transform: rotate(-2deg); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 24px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.ticks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-size: .85rem; color: var(--forest); }
.job { background: var(--sage-soft); border-radius: var(--radius-lg); padding: 32px; }

/* ---------- Login ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h) - var(--bar-h)); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 2.4rem; }

/* ---------- Dashboard ---------- */
.dash { padding: 40px 0 80px; }
.dash-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.dash h2 { font-size: 1.6rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--lilac-soft); border: 2px solid var(--forest); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--forest); overflow: hidden; flex-shrink: 0; font-size: 1.3rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 38px; height: 38px; font-size: .9rem; border-width: 1.5px; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.8rem; }
.avatar-edit { position: relative; cursor: pointer; background: none; border: 0; padding: 0; }
.avatar-edit::after { content: "✎"; position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; font-size: .8rem; }
.who { display: flex; gap: 18px; align-items: center; }
.who h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.ring { width: 92px; height: 92px; position: relative; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); color: var(--forest); font-size: 1.2rem; }
.stat-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hscroll { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; }
.hscroll > * { scroll-snap-align: start; }
.sess-card { min-width: 200px; max-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.sess-card.pending { border-style: dashed; border-color: #a99bd0; }
.sess-card .date { font-family: var(--font-head); font-weight: 700; color: var(--forest); font-size: 1.05rem; }
.sess-card .status { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.status.pending { color: #7B62C9; } .status.confirmed { color: var(--ok); } .status.declined { color: var(--danger); } .status.done { color: var(--muted); }
.add-card { min-width: 170px; border: 2px dashed var(--forest); border-radius: var(--radius); display: grid; place-items: center; gap: 8px; text-align: center; padding: 16px; background: transparent; color: var(--forest); font-family: var(--font-head); font-weight: 600; }
.add-card .plus { width: 52px; height: 52px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; font-size: 1.8rem; transition: .2s; }
.add-card:hover .plus { transform: rotate(90deg) scale(1.08); }
.months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.month { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-height: 96px; }
.month h4 { font-size: .9rem; margin-bottom: 8px; }
.month .s { font-size: .82rem; padding: 3px 8px; border-radius: 6px; margin-bottom: 4px; background: var(--chalk); border: 1px solid var(--line); }
.month .s.done { background: var(--sage); border-color: var(--sage); color: var(--forest); opacity: .75; text-decoration: line-through; text-decoration-color: var(--forest); text-decoration-thickness: 2px; }
.month .s.booked { background: var(--lilac-soft); border-color: var(--lilac); }
.list { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.row .grow { flex: 1; min-width: 0; }
.row .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { border: 0; background: none; padding: 12px 16px; font-family: var(--font-head); font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--forest); border-color: var(--lilac); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--lilac); color: var(--forest); font-size: .78rem; font-weight: 700; padding: 0 6px; margin-left: 6px; }
table.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { background: var(--sage-soft); font-family: var(--font-head); font-size: .85rem; }
.tbl-wrap { overflow-x: auto; }
.viewas-bar { background: var(--lilac); color: var(--forest); padding: 10px 0; font-weight: 600; }
.viewas-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.week-grid { display: grid; grid-template-columns: 64px repeat(7, 1fr); gap: 4px; font-size: .82rem; }
.week-grid .h { text-align: center; font-family: var(--font-head); font-weight: 600; padding: 6px 0; }
.week-grid .t { text-align: right; padding-right: 6px; color: var(--muted); align-self: center; }
.week-grid .c { height: 30px; border-radius: 6px; border: 1px solid var(--line); background: var(--chalk); transition: .1s; }
.week-grid .c:hover { border-color: var(--forest); }
.week-grid .c.on { background: var(--forest); border-color: var(--forest); }
.week-grid .c.on.consultation { background: var(--forest); }
.week-grid .c.on.session { background: #6F9483; border-color: #6F9483; }
.week-grid .c.on.interview { background: #8D74D9; border-color: #8D74D9; }
.week-grid .c.booked { background: var(--lilac); border-color: var(--lilac); cursor: not-allowed; }
.week-grid .c.past { opacity: .35; pointer-events: none; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; margin: 10px 0; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.master-cal .ev { font-size: .78rem; padding: 3px 6px; border-radius: 6px; margin-bottom: 3px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.consultation { background: var(--forest); color: var(--chalk); }
.ev.interview { background: #8D74D9; color: #fff; }
.ev.session { background: var(--lilac-soft); color: var(--forest); border: 1px solid var(--lilac); }
.ev.pending { border-style: dashed; }
.mc-day { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-height: 140px; }
.mc-day h5 { margin: 0 0 6px; font-family: var(--font-head); font-size: .85rem; color: var(--forest); }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(27, 42, 36, .45); z-index: 100; display: grid; place-items: center; padding: 20px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--chalk); border-radius: var(--radius-lg); width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 32px; position: relative; animation: rise .3s ease; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal.wide { width: min(1000px, 100%); }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; }
.modal h2 { font-size: 1.7rem; padding-right: 40px; }
.req-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.req-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; }
.req-actions { display: flex; gap: 10px; margin-top: 6px; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--forest); background: var(--paper); font-size: 1.2rem; display: grid; place-items: center; transition: .15s; }
.round.yes:hover { background: var(--ok); color: #fff; border-color: var(--ok); }
.round.no:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ---------- Chat ---------- */
.chat { display: grid; grid-template-columns: 240px 1fr; height: min(70vh, 560px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list button { width: 100%; text-align: left; border: 0; background: none; padding: 12px 14px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.chat-list button.on { background: var(--lilac-soft); }
.chat-list .unread { width: 10px; height: 10px; border-radius: 50%; background: #8D74D9; margin-left: auto; }
.chat-main { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; }
.chat-msgs { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--chalk); }
.msg { max-width: 75%; padding: 10px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); align-self: flex-start; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--forest); color: var(--chalk); border-color: var(--forest); }
.msg time { display: block; font-size: .72rem; opacity: .6; margin-top: 4px; }
.chat-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; min-height: 46px; max-height: 120px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 20px); transform: translateX(-50%); background: var(--forest); color: var(--chalk); padding: 12px 22px; border-radius: 99px; z-index: 200; box-shadow: var(--shadow); animation: rise .3s ease; font-weight: 600; }
.demo-note { background: #FFF6D9; border: 1px solid #EAD9A0; color: #6B5A1E; padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; }

/* confetti canvas */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--chalk); flex-direction: column; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-login { display: none; }
  .hero-grid, .price-grid, .split, .faq-grid, .founder, .apply-hero, .dash-grid, .profile-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; gap: 28px; }
  .cards-3 .card { border-left: 0; padding: 0; }
  .mc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --bar-h: 64px; }
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .logo { font-size: 1.4rem; }
  .site-header .wrap { gap: 10px; }
  .menu-toggle { padding: 4px; }
  .split .motif, .hero .motif { display: none; }
  .header-actions .btn { padding: 9px 12px; font-size: .85rem; }
  .bottom-bar .label { display: none; }
  .bottom-bar .group { flex: 1; }
  .bottom-bar .btn { flex: 1; }
  .timeline { grid-auto-flow: row; gap: 18px; }
  .timeline::before { top: 15px; bottom: 15px; left: 15px; right: auto; width: 2px; height: auto; }
  .timeline .step { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; }
  .timeline .step h4 { margin-top: 4px; }
  .timeline .step p { grid-column: 2; }
  .next-steps .step { transform: translateY(20px); }
  .footer-grid { grid-template-columns: 1fr; }
  .plan-cards, .form-row { grid-template-columns: 1fr; }
  .days { gap: 4px; }
  .day { padding: 8px 0; border-radius: 8px; }
  .day .num { font-size: 1rem; }
  .day .dow { font-size: .65rem; }
  .chat { grid-template-columns: 1fr; height: auto; }
  .chat-list { max-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-msgs { min-height: 280px; }
  .months { grid-template-columns: repeat(2, 1fr); }
  .mc-grid { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
  .week-grid { grid-template-columns: 44px repeat(7, 1fr); font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* admin: website coaches */
.site-coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 18px; margin-top: 18px; }
.site-coach-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.switch input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked { background: var(--forest); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }

/* quiz: short explanation under an answer */
.choice-desc { font-size: .82rem; color: var(--muted); line-height: 1.35; font-weight: 400; }

/* coding tools: logo + small code badge, so Claude and Claude Code look different */
.tool-code { position: relative; display: inline-flex; flex: none; }
.tool-code i { position: absolute; right: -7px; bottom: -6px; font-style: normal; font: 700 .55rem/1 var(--font-head); color: var(--chalk); background: var(--forest); border-radius: 4px; padding: 2px 3px; letter-spacing: -.02em; }
.coach-langs { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.lang-pick button { padding: 6px 12px; }
.app-code { position: relative; display: inline-flex; }
.app-code i { position: absolute; right: -8px; bottom: -6px; font-style: normal; font: 700 .7rem/1 var(--font-head); color: var(--chalk); background: var(--forest); border-radius: 5px; padding: 3px 4px; }

/* show / hide password */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--forest); background: var(--lilac-soft); }

/* website language picker */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-select select { appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23203C32' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; border-radius: 99px; padding: 7px 28px 7px 12px; font: 600 .82rem var(--font-body); color: var(--forest); cursor: pointer; max-width: 150px; }
.lang-select select:hover, .lang-select select:focus-visible { border-color: var(--forest); }

/* About: meet the team */
.team-section { padding-top: 20px; }
.team-section h2 { margin-bottom: 26px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.team-member { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.team-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--lilac-soft); border: 2px solid var(--lilac); font: 600 1.2rem var(--font-head); color: var(--forest); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 { margin: 0 0 2px; font-size: 1.1rem; }
.team-member p { margin: 0; color: var(--muted); font-size: .92rem; }
.nav .lang-select { margin-top: 6px; }
.nav .lang-select select { max-width: none; font-size: 1rem; padding: 10px 34px 10px 14px; }
.team-member .team-role { color: var(--forest); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }

/* "What else we offer" button on the homepage */
.btn-offer { display: flex; align-items: center; gap: 14px; margin-top: 14px; max-width: 360px; padding: 12px 18px 12px 12px; border-radius: 18px; border: 1.5px dashed var(--forest); background: var(--lilac-soft); color: var(--forest); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.btn-offer:hover, .btn-offer:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px #203c321f; border-style: solid; }
.btn-offer-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--forest); color: var(--lilac); display: grid; place-items: center; flex: none; }
.btn-offer b { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.btn-offer small { display: block; color: var(--muted); font-size: .85rem; }
.btn-offer-arrow { margin-left: auto; font-size: 1.2rem; transition: transform .18s; }
.btn-offer:hover .btn-offer-arrow { transform: translateX(4px); }

/* offers page */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; margin-top: 36px; }
.offer-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.offer-item:hover, .offer-item:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px #203c321a; }
.offer-cover { aspect-ratio: 4 / 3; display: grid; place-items: end start; padding: 18px; position: relative; overflow: hidden; }
.offer-cover::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 10px; background: #0000001a; }
.offer-cover span { position: relative; font: 600 1.15rem/1.2 var(--font-head); max-width: 85%; }
.offer-cover.c0 { background: var(--forest); color: var(--lilac); }
.offer-cover.c1 { background: var(--lilac); color: var(--forest); }
.offer-cover.c2 { background: var(--sage); color: var(--forest); }
.offer-cover.c3 { background: var(--lilac-soft); color: var(--forest); }
.offer-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.offer-body h3 { margin: 0; font-size: 1.15rem; }
.offer-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.offer-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--forest); font-size: .92rem; }

/* apply page: free training note */
.training-note { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-bottom: 26px; border-radius: 18px; background: var(--lilac-soft); border: 1px solid var(--lilac); }
.training-note-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--forest); color: var(--lilac); display: grid; place-items: center; }
.training-note h3 { margin: 0 0 4px; font-size: 1.1rem; }
.training-note p { margin: 0; }

/* dashboards: my training + offers card */
.train-list { display: grid; gap: 10px; }
.train-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #ffffffa6; }
.train-item .grow { min-width: 0; }
.train-item b { display: block; overflow-wrap: anywhere; }
.train-item b a { color: var(--forest); }
.train-item.done b { text-decoration: line-through; opacity: .6; }
.train-thumb { width: 88px; height: 50px; object-fit: cover; border-radius: 8px; display: block; flex: none; }
.train-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--lilac-soft); color: var(--forest); display: grid; place-items: center; font-weight: 700; flex: none; }
.train-done { display: flex; gap: 6px; align-items: center; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.offer-card { position: relative; display: block; text-decoration: none; color: inherit; padding-right: 44px; }
.offer-card b { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--forest); margin: 2px 0; }
.offer-card .offer-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--forest); }
.offer-card:hover { border-color: var(--forest); }

/* logo images */
.logo.logo-img { display: inline-flex; align-items: center; gap: 4px; line-height: 0; }
.logo-img .logo-mark { height: 36px; width: auto; }
.logo-img .logo-word { height: 40px; width: auto; margin-left: -4px; }
.logo-stacked { display: inline-block; line-height: 0; }
.logo-stacked img { width: 150px; height: auto; margin-left: -14px; }
.quiz-mark { display: block; margin: 0 auto 10px; width: 84px; height: auto; }
.auth-card::before { content: ""; display: block; width: 64px; height: 58px; margin: 0 auto 8px; background: url("../img/logo/alongside-symbol.svg") center / contain no-repeat; }
@media (max-width: 640px) { .logo-img .logo-mark { height: 28px; } .logo-img .logo-word { height: 32px; } }

/* photo crop & adjust */
.crop-stage { width: min(300px, 100%); aspect-ratio: 1; margin: 12px auto 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--chalk); }
.crop-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.crop-stage canvas:active { cursor: grabbing; }
.crop-stage canvas:focus-visible { outline: 3px solid var(--lilac); outline-offset: -3px; }
.crop-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 49.5%, rgba(32, 60, 50, .55) 50%); }
.crop-stage::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; pointer-events: none; z-index: 1; }
.crop-controls { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.crop-zoom { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.crop-zoom input { width: 170px; accent-color: var(--forest); }
.founder-team { grid-template-columns: 1fr; margin-top: 16px; gap: 10px; }
.founder-team .team-member { padding: 12px 14px; }
.founder-team .team-photo { width: 52px; height: 52px; font-size: 1rem; }
.founder-monogram img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 3px solid var(--chalk); box-shadow: 0 6px 18px #203c3226; position: relative; z-index: 1; }
.founder-monogram:has(img) { height: auto; overflow: visible; padding: 6px 0 4px; }

/* certificate: logos, plain check mark */
.cert-top { display: flex; align-items: center; gap: 10px; }
.cert-logo { width: 38px; height: auto; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.cert-issuer { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cert-wh { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.cert .cert-school { display: block; font-family: var(--font-body); font-size: .68rem; line-height: 1.2; font-weight: 700; max-width: none; color: var(--forest); }
.cert-issuer .small { font-size: .62rem; line-height: 1.2; display: block; }
.cert .seal { background: none; width: auto; height: auto; border-radius: 0; font-size: 1.5rem; line-height: 1; color: var(--forest); font-weight: 700; }

/* "What else we offer": white button (purple is kept for "Book a free consultation") */
.btn-offer { background: #fff; border: 1.5px solid var(--forest); }
.btn-offer:hover, .btn-offer:focus-visible { background: #fff; }
.btn-offer-icon { color: var(--chalk); }
.offer-card { background: #fff; }
.offer-text-link { display: table; margin-top: 16px; color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.offer-text-link:hover, .offer-text-link:focus-visible { text-decoration-thickness: 2px; }
