.lp { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 56px 20px 40px; }
@media (min-width: 640px) { .lp { padding-top: 88px; } }

/* header */
.lp-head { text-align: center; margin-bottom: 32px; animation: rise .5s var(--ease) both; }
.lp-avatar {
  display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover;
  font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--rail-accent);
  background: radial-gradient(circle at 30% 25%, #3a332c, #171512);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line-strong), 0 18px 40px -14px rgba(40,25,10,.45);
}
.lp-name { margin: 0 0 6px; font-size: clamp(2.3rem, 9vw, 3rem); line-height: 1; }
.lp-role { margin: 0 0 14px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.lp-tagline { margin: 0 auto; max-width: 38ch; color: var(--ink-2); font-size: 1rem; }
.lp-socials { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.lp-social {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink);
  background: var(--surface); box-shadow: var(--lift); transition: transform .2s var(--ease), background .2s, color .2s;
}
.lp-social:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }

/* links */
.lp-links { display: flex; flex-direction: column; gap: 12px; }
.lp-links > * { animation: rise .5s var(--ease) both; }
.lp-links > *:nth-child(2) { animation-delay: .06s; }
.lp-links > *:nth-child(3) { animation-delay: .12s; }
.lp-links > *:nth-child(4) { animation-delay: .18s; }
.lp-links > *:nth-child(5) { animation-delay: .24s; }

.lp-feature {
  position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 22px; text-decoration: none; color: var(--rail-ink);
  background: radial-gradient(420px 240px at 100% 0%, rgba(210,164,124,.24), transparent 70%), linear-gradient(160deg, #241f1b, #121110);
  box-shadow: 0 2px 4px rgba(40,25,10,.08), 0 22px 44px -16px rgba(40,25,10,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.lp-feature:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(40,25,10,.08), 0 30px 60px -18px rgba(40,25,10,.55); }
.lp-feature:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.lp-feature-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 24px 24px; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 4px 10px; border-radius: 99px;
  font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rail-accent); border: 1px solid #4a443d;
}
.lp-badge i { width: 6px; height: 6px; border-radius: 50%; background: #7bc59a; box-shadow: 0 0 0 3px rgba(123,197,154,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(123,197,154,0); } }
.lp-feature-title { font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.lp-feature-sub { max-width: 30ch; font-size: .92rem; color: var(--rail-muted); }
.lp-feature-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 18px; border-radius: 99px;
  background: var(--rail-ink); color: var(--ink); font-weight: 600; font-size: .9rem;
}
.lp-feature-cta .icon { transition: transform .2s var(--ease); }
.lp-feature:hover .lp-feature-cta .icon { transform: translateX(3px); }
.lp-feature-art {
  position: absolute; right: -60px; bottom: -60px; width: 240px; transform: rotate(-8deg); pointer-events: none;
  -webkit-mask-image: linear-gradient(105deg, transparent 8%, #000 45%); mask-image: linear-gradient(105deg, transparent 8%, #000 45%);
}
.lp-feature-art .pv { box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.lp-feature-title, .lp-feature-sub { max-width: 62%; }
@media (max-width: 460px) {
  .lp-feature-art { right: -96px; bottom: -84px; width: 210px; }
  .lp-feature-title { max-width: 80%; }
  .lp-feature-sub { max-width: 64%; }
}

.lp-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: var(--surface); box-shadow: var(--lift); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lp-link:hover { transform: translateY(-2px); box-shadow: var(--float); }
.lp-link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.lp-link-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--accent); }
.lp-link-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.lp-link-text strong { font-weight: 600; }
.lp-link-text span { font-size: .85rem; color: var(--muted); }
.lp-link-go { color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.lp-link:hover .lp-link-go { color: var(--ink); transform: translateX(3px); }

/* how it works */
.lp-how { margin-top: 40px; padding: 26px 24px; border-radius: 20px; background: rgba(255,255,255,.5); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.lp-how .eyebrow { margin-bottom: 16px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lp-steps li { display: flex; gap: 14px; align-items: flex-start; }
.lp-step-num {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-size: .78rem; font-weight: 600; color: var(--accent); background: var(--surface);
}
.lp-steps li > span:last-child { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.lp-steps strong { color: var(--ink); font-size: .95rem; font-weight: 600; margin-bottom: 2px; }

.lp-foot { margin-top: 36px; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- multi-service tabs ---------- */
.lp-tabs-wrap {
  position: sticky; top: 0; z-index: 10; margin: 0 -20px 8px; padding: 10px 20px;
}
.lp-tabs { background: rgba(255,255,255,.82) !important; -webkit-backdrop-filter: blur(12px); }
.lp-tabs {
  display: flex; gap: 6px; padding: 5px; overflow-x: auto; scrollbar-width: none; border-radius: 99px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); box-shadow: var(--lift); backdrop-filter: blur(10px);
}
.lp-tabs::-webkit-scrollbar { display: none; }
.lp-tab {
  flex: 1 0 auto; padding: 9px 16px; border: 0; border-radius: 99px; background: transparent; cursor: pointer;
  font: 500 .9rem var(--sans); color: var(--muted); white-space: nowrap; transition: background .2s, color .2s;
}
.lp-tab:hover { color: var(--ink); }
.lp-tab[aria-selected=true] { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(26,24,21,.6); }
.lp-tab:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

.services { display: flex; flex-direction: column; gap: 44px; padding-top: 8px; }
.svc.is-entering { animation: rise .45s var(--ease) both; }
.svc-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.svc-icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: var(--svc);
}
.svc-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.svc-tagline { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.svc-note { margin: 14px 4px 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.services[data-view=all] .lp-how { display: none; }
.svc .lp-how { margin-top: 16px; }

/* service accent on the featured card */
.svc .lp-feature {
  background:
    radial-gradient(420px 240px at 100% 0%, color-mix(in srgb, var(--svc) 30%, transparent), transparent 70%),
    linear-gradient(160deg, #241f1b, #121110);
}
.svc .lp-badge { color: var(--svc); }
.svc .lp-badge i { background: var(--svc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--svc) 25%, transparent); }
.svc .lp-link-icon { color: color-mix(in srgb, var(--svc) 60%, var(--ink)); background: color-mix(in srgb, var(--svc) 16%, var(--surface)); }
.lp-feature-art-icon {
  right: -40px; bottom: -50px; width: auto; transform: rotate(-12deg); color: var(--svc); opacity: .16;
  -webkit-mask-image: none; mask-image: none;
}
.lp-feature-art-icon .icon { stroke-width: 1; }
.lp-feature.is-soon { cursor: default; }
.lp-feature.is-soon:hover { transform: none; }
.lp-feature-cta.is-soon { background: transparent; color: var(--rail-muted); border: 1px dashed #4a443d; font-weight: 500; }
.lp-feature:has(.lp-feature-art-icon) .lp-feature-title, .lp-feature:has(.lp-feature-art-icon) .lp-feature-sub { max-width: 34ch; }

/* ---------- photo avatars ---------- */
.has-photo { background-color: #efe7da; background-repeat: no-repeat; }
.lp-avatar.has-photo { width: 120px; height: 120px; }
/* ---------- portrait header ---------- */
.lp-head.has-portrait { margin-bottom: 28px; }
.lp-portrait {
  position: relative; margin: 0 0 22px; aspect-ratio: 4 / 4.6; border-radius: 24px; overflow: hidden;
  background: #2a2420; box-shadow: 0 2px 4px rgba(40,25,10,.08), 0 30px 60px -24px rgba(40,25,10,.5);
}
.lp-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.lp-portrait::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,12,10,0) 52%, rgba(14,12,10,.55) 76%, rgba(14,12,10,.88) 100%);
}
.lp-portrait-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 24px 22px; text-align: left; }
.lp-portrait .lp-name { color: #fbf7f1; font-size: clamp(2.8rem, 12vw, 3.8rem); margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.lp-portrait .lp-role { margin: 0 0 6px; color: var(--rail-accent); }
.has-portrait .lp-tagline { text-align: center; }
/* ---------- card mockups: trading lesson + booking ---------- */
.mk { font-family: var(--sans); }
.mk-trade .pv-chrome { background: #1b2420; border-bottom-color: #26332d; }
.mk-trade .pv-dots i { background: #34443c; }
.mk-trade .pv-url { background: #111915; color: #7fa892; }
.mk-trade-body { background: linear-gradient(180deg, #0f1814, #0b120f); color: #e6efe9; padding: 12px 14px 14px; }
.mk-trade-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 8px; margin-bottom: 8px; }
.mk-trade-lesson { grid-column: 1; font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5fd39a; }
.mk-trade-title { grid-column: 1; font-family: var(--serif); font-size: 16px; line-height: 1.1; }
.mk-trade-pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 3px 7px; border-radius: 99px; background: rgba(95,211,154,.14); color: #5fd39a; font-size: 8.5px; font-weight: 600; }
.mk-chart { height: 96px; margin: 0 -2px 10px; }
.mk-chart svg { width: 100%; height: 100%; display: block; }
.mk-trade-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 8.5px; color: #8fb3a0; }
.mk-bar { height: 4px; border-radius: 99px; background: #1f2d27; overflow: hidden; }
.mk-bar i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3fae7c, #7fe0b0); }

.mk-book .pv-chrome { background: #f6ebe8; border-bottom-color: #ecdcd7; }
.mk-book .pv-dots i { background: #e2cbc5; }
.mk-book .pv-url { color: #a07870; }
.mk-book-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; background: linear-gradient(180deg, #fff9f7, #fbefec); color: #3a2a28; }
.mk-book-name { font-family: var(--serif); font-size: 17px; line-height: 1; color: #2c1f1d; margin-bottom: 2px; }
.mk-book-label { font-size: 7.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b07e76; }
.mk-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.mk-day { display: flex; flex-direction: column; align-items: center; padding: 5px 0; border-radius: 8px; background: #fff; border: 1px solid #f0dfdb; font-size: 12px; font-weight: 600; line-height: 1.1; }
.mk-day small { font-size: 7.5px; font-weight: 500; color: #a8908b; }
.mk-day.is-on { background: #2c1f1d; border-color: #2c1f1d; color: #fff; }
.mk-day.is-on small { color: #e3a2a0; }
.mk-times { display: flex; gap: 5px; }
.mk-chip { flex: 1; text-align: center; padding: 4px 0; border-radius: 99px; border: 1px solid #ecd6d1; background: #fff; font-size: 9px; font-weight: 500; }
.mk-chip.is-on { background: #e3a2a0; border-color: #e3a2a0; color: #2c1f1d; font-weight: 600; }
.mk-book-service { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-top: 4px; padding: 7px 8px; border-radius: 10px; background: #fff; border: 1px solid #f0dfdb; }
.mk-book-service > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.2; font-size: 9.5px; }
.mk-book-service small { font-size: 7.5px; color: #a8908b; }
.mk-avatar { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #e3a2a0, #b06a6a); }
.mk-book-btn { padding: 4px 10px; border-radius: 99px; background: #2c1f1d; color: #fff; font-size: 8.5px; font-weight: 600; }
.lp-feature-art.lp-art-chart, .lp-feature-art.lp-art-booking { top: 64px; bottom: auto; right: -64px; width: 220px; }
@media (max-width: 460px) { .lp-feature-art.lp-art-chart, .lp-feature-art.lp-art-booking { top: 78px; right: -92px; width: 205px; } }
.lp-art-chart .pv { box-shadow: 0 0 0 1px rgba(95,211,154,.28), 0 20px 40px -10px rgba(0,0,0,.7); }
.mk-trade-body { background: linear-gradient(180deg, #14231c, #0e1813); }