/*
 * The public pages and the sign-up and log-in screens, from Bixie's November 2026
 * design handoff, Version A. Loads after theme.css, which holds the palette, the
 * typeface and the buttons. Every page is built from the same few bands and cards.
 */

/* --- Bands and type ----------------------------------------------------------- */
body { background: #FFFFFF; color: var(--ink); }
.s-band { padding: 96px 32px; background: #FFFFFF; scroll-margin-top: 16px; }
.s-band--lav { background: var(--bx-lavender); }
.s-band--pink { background: var(--bx-pink-bg); }
.s-band--helio { padding-block: 64px; background: var(--bx-heliotrope); color: #FFFFFF; }
.s-band--ink { background: var(--ink); color: #FFFFFF; }
.s-band--hero { padding-block: 40px 88px; }
.s-band--tight { padding-block: 72px; }
.s-band--stats { padding-block: 40px; background: var(--ink); color: #FFFFFF; }
@media (max-width: 40rem) {
    .s-band { padding: 56px 16px; }
    .s-band--hero { padding-block: 24px 56px; }
    .s-band--tight, .s-band--helio { padding-block: 48px; }
}

.s-wrap { max-width: 1280px; margin: 0 auto; min-width: 0; }
.s-stack { display: flex; flex-direction: column; gap: 40px; }
.s-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.s-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.s-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.s-split > * { flex: 1 1 420px; min-width: 0; }
.s-split--top { align-items: flex-start; }
@media (max-width: 40rem) { .s-split { gap: 32px; } .s-split > * { flex-basis: 100%; } }

.s-eyebrow { margin: 0; font-size: .94rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--bx-cornflower); }
.s-band--ink .s-eyebrow { color: var(--bx-tickle); }
.s-band--helio .s-eyebrow { color: #FFFFFF; }
.s-tag { align-self: flex-start; display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--bx-pink-bg); color: #8A1E4A; font-size: .875rem; font-weight: 700; }
.s-h1 { margin: 0; font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem); font-weight: 800; line-height: .98; letter-spacing: -2px; color: inherit; overflow-wrap: anywhere; }
.s-h1 mark { display: inline-block; padding: 0 .16em .04em; border-radius: .22em; background: var(--bx-tickle); color: var(--ink); }
.s-h1--page { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4rem); line-height: 1; }
.s-h2 { margin: 0; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.25rem); font-weight: 800; line-height: 1.03; letter-spacing: -1px; color: inherit; overflow-wrap: anywhere; }
.s-h2--sm { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); }
.s-h3 { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: inherit; overflow-wrap: anywhere; }
.s-lede { margin: 0; max-width: 40rem; font-size: 1.25rem; line-height: 1.5; color: var(--bx-body); }
.s-text { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--bx-body); }
.s-small { margin: 0; font-size: .875rem; font-weight: 700; color: var(--bx-muted); }
.s-band--ink .s-lede, .s-band--ink .s-text { color: #D9D3F5; }
.s-band--ink a:not(.btn) { color: #FFFFFF; }
.s-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.s-list li { position: relative; padding-left: 26px; font-size: 1.0625rem; line-height: 1.45; color: var(--bx-body); }
.s-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--bx-cornflower); }
.s-band--ink .s-list li { color: #D9D3F5; }
.s-band--ink .s-list li::before { color: var(--bx-tickle); }

/* --- Coming up: the bar across the top ------------------------------------------- */
.s-ticker { display: flex; align-items: stretch; overflow: hidden; background: var(--ink); color: #FFFFFF; font-size: .875rem; font-weight: 700; }
.s-ticker__label { position: relative; z-index: 1; flex: none; display: flex; align-items: center; padding: 8px 18px; background: var(--bx-tickle); color: var(--ink); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: .78rem; }
.s-ticker__run { flex: 1; min-width: 0; overflow: hidden; }
.s-ticker__track { display: inline-flex; width: max-content; animation: s-tick 45s linear infinite; }
.s-ticker__track:hover { animation-play-state: paused; }
.s-ticker__track a { padding: 8px 28px; color: #FFFFFF; text-decoration: none; white-space: nowrap; }
.s-ticker__track a:hover { text-decoration: underline; color: #FFFFFF; }
.s-ticker__track b { color: var(--bx-tickle); font-weight: 700; }
@keyframes s-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .s-ticker__track { animation: none; } }

/* --- Header --------------------------------------------------------------------- */
.s-header { position: static; background: #FFFFFF; backdrop-filter: none; border-bottom: 0; }
.s-header .site-header__inner { max-width: 1280px; margin: 0 auto; padding: 22px 32px; gap: 16px; }
.s-header .brand { gap: 10px; }
.s-header .brand__word { font-size: 1.875rem; font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.s-header .nav__list { gap: 22px; }
.s-header .nav__link { font-size: .94rem; font-weight: 700; color: var(--ink); }
.s-header .nav__link:hover, .s-header .nav__link[aria-current="page"] { color: var(--bx-cornflower); }
.s-header .login { font-size: .94rem; font-weight: 700; }
.s-header .header-actions { gap: 18px; }
.s-header .linklike { font: inherit; }
.s-header .login, .s-header .header-actions .btn { white-space: nowrap; }
.s-header .mobile-nav .container { max-width: none; padding-inline: 16px; }
@media (max-width: 65rem) { .s-header .nav__list { gap: 14px; } }
/* Community's little menu, with the Blog in it. */
.s-header .nav__item--sub { position: relative; display: flex; align-items: center; gap: 2px; }
.s-header .nav__caret { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink); cursor: pointer; }
.s-header .nav__caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.s-header .nav__sub { display: none; position: absolute; top: 100%; left: -14px; z-index: 30; min-width: 190px; margin: 0; padding: 8px; list-style: none; border-radius: 14px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(31, 22, 64, .16); }
.s-header .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.s-header .nav__item--sub:hover .nav__sub, .s-header .nav__item--sub:focus-within .nav__sub, .s-header .nav__item--sub.is-open .nav__sub { display: block; }
.s-header .nav__item--sub.is-shut .nav__sub { display: none; }
.s-header .nav__sub a { display: block; padding: 9px 12px; border-radius: 9px; font-size: .94rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.s-header .nav__sub a:hover, .s-header .nav__sub a:focus-visible { background: var(--bx-lilac); }
.s-header .mobile-nav__list a.mobile-nav__sub { padding-left: 20px; font-size: 1rem; font-weight: 600; }
@media (max-width: 40rem) { .s-header .site-header__inner { padding: 14px 16px; } }

/* --- Home: the hero --------------------------------------------------------------- */
.s-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.s-hero__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.s-hero__art { flex: 1 1 480px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; min-width: 0; }
.s-hero__arch { min-height: 500px; padding: 8px; border-radius: 240px 240px 28px 28px; background: var(--bx-heliotrope); overflow: hidden; }
.s-hero__arch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 232px 232px 22px 22px; }
.s-hero__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.s-hero__peach { flex: 1 1 auto; min-height: 240px; padding-bottom: 28px; border-radius: 28px; background: var(--bx-peach); overflow: hidden; }
.s-hero__peach img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 28px 28px 0 0; }
.s-hero__card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 2px solid var(--bx-lilac); border-radius: 24px; background: #FFFFFF; }
.s-hero__card strong { font-size: 1.375rem; font-weight: 800; line-height: 1.1; }
.s-bar { display: block; height: 10px; border-radius: 999px; background: var(--bx-lilac); overflow: hidden; }
.s-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--bx-hot-pink); }
@media (max-width: 40rem) { .s-hero__arch { min-height: 340px; } .s-hero__peach { min-height: 170px; } }

.s-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.s-stat { display: flex; flex-direction: column; gap: 2px; }
.s-stat strong { font-size: 2.875rem; font-weight: 900; line-height: 1.05; color: var(--bx-tickle); font-variant-numeric: tabular-nums; }
.s-stat span { font-size: 1.0625rem; color: #D9D3F5; }

/* --- Logos ------------------------------------------------------------------------ */
.s-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
@media (max-width: 60rem) { .s-logos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); } }
.s-logos > div { display: flex; align-items: center; justify-content: center; height: 128px; padding: 18px 28px; border: 2px solid var(--bx-lilac); border-radius: 20px; background: #FFFFFF; }
.s-logos img { display: block; max-width: 100%; max-height: 72px; object-fit: contain; filter: grayscale(1) brightness(.78) contrast(1.2); opacity: .8; }
.s-recognized { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.s-recognized > div { flex: 1 1 220px; display: flex; align-items: center; justify-content: center; height: 110px; }
.s-recognized img { display: block; max-width: 240px; max-height: 92px; object-fit: contain; filter: brightness(0) invert(1); }

/* --- Video ------------------------------------------------------------------------ */
.s-videos { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.s-videos__main { flex: 2 1 520px; min-width: 0; }
.s-videos__side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.s-video { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.s-video .video-slot { width: 100%; max-width: none; margin: 0; border-radius: 18px; overflow: hidden; }
.s-video p { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--bx-muted); }
.s-video p b { color: var(--bx-cornflower); font-weight: 700; }
.s-band--ink .s-video p { color: #D9D3F5; }
.s-band--ink .s-video p b { color: var(--bx-tickle); }
.s-link { font-weight: 700; color: var(--bx-cornflower); }
.s-band--ink a.s-link { color: var(--bx-tickle); }
.s-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }

/* --- Events ------------------------------------------------------------------------- */
.s-events { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.s-event { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border: 2px solid var(--bx-lilac); border-radius: 20px; background: #FFFFFF; }
.s-event__tile, .s-tile-date {
    flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    width: 68px; height: 68px; border-radius: 16px; background: var(--bx-heliotrope); color: var(--ink); font-weight: 800; line-height: 1;
}
.s-event:nth-child(3n+2) .s-event__tile { background: var(--bx-tickle); }
.s-event:nth-child(3n) .s-event__tile { background: var(--bx-mint); }
.s-event__tile span, .s-tile-date span { font-size: .81rem; letter-spacing: 1px; }
.s-event__tile strong, .s-tile-date strong { font-size: 1.625rem; font-weight: 800; }
.s-event__text { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s-event__text strong { font-size: 1.0625rem; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.s-event__text span { font-size: .875rem; color: var(--bx-muted); }
.s-empty { margin: 0; padding: 22px; border: 2px dashed var(--bx-lilac); border-radius: 20px; background: #FFFFFF; color: var(--bx-muted); }
.s-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.s-filter button { padding: 9px 16px; border: 2px solid var(--bx-lilac); border-radius: 999px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: .94rem; font-weight: 700; cursor: pointer; }
.s-filter button:hover { border-color: var(--bx-cornflower); }
.s-filter button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.s-feature { display: flex; flex-wrap: wrap; gap: 32px; padding: 24px; border: 2px solid var(--bx-lilac); border-radius: 28px; background: #FFFFFF; }
.s-feature__pic { flex: 1 1 340px; min-width: 0; min-height: 260px; border-radius: 20px; overflow: hidden; background: var(--bx-lilac); }
.s-feature__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-feature__body { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.s-when { display: flex; align-items: center; gap: 14px; }
.s-when div { display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.s-when small { font-size: .94rem; font-weight: 500; color: var(--bx-muted); }

/* --- Pictures ----------------------------------------------------------------------- */
.s-photo { padding: 10px; border-radius: 28px; background: var(--bx-lilac); overflow: hidden; }
.s-photo--pink { background: var(--bx-tickle); }
.s-photo--helio { background: var(--bx-heliotrope); }
.s-photo--peach { background: var(--bx-peach); }
.s-photo img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; }
.s-photo--plain { padding: 0; background: none; }
.s-photo--plain img { border-radius: 24px; }
.s-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.s-photos figure { display: flex; flex-direction: column; gap: 10px; margin: 0; min-width: 0; }
.s-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.s-photos figcaption { font-weight: 700; }
.s-photos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 60rem) { .s-photos--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .s-photos--4 { grid-template-columns: minmax(0, 1fr); } }

/* --- Cards --------------------------------------------------------------------------- */
.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.s-cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.s-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px; border: 2px solid var(--bx-lilac); border-radius: 24px; background: #FFFFFF; color: var(--ink); }
.s-card > .btn { align-self: flex-start; margin-top: auto; }
.s-card--ink { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.s-card--ink .s-text { color: #D9D3F5; }
.s-card--lav { border-color: var(--bx-lavender); background: var(--bx-lavender); }
.s-tile { flex: none; display: block; width: 52px; height: 52px; border-radius: 14px; background: var(--bx-lilac); }
.s-tile--rose { background: var(--bx-rose); }
.s-tile--blue { background: var(--bx-blue); }
.s-tile--mint { background: var(--bx-mint); }
.s-tile--peach { background: var(--bx-peach); }
.s-step { font-size: 2.875rem; font-weight: 900; line-height: 1; color: var(--bx-cornflower); }
.s-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.s-quote { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 26px; border-radius: 24px; background: var(--bx-pink-bg); }
.s-quote:nth-child(2) { background: var(--bx-lilac); }
.s-quote p { margin: 0; font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.s-quote footer { font-size: .94rem; color: var(--bx-muted); }

.s-course { gap: 10px; }
.s-course__cover { position: relative; height: 200px; margin-bottom: 4px; border-radius: 16px; overflow: hidden; background: var(--bx-lilac); }
.s-course__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-course__cover span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; font-size: .81rem; font-weight: 800; }
.s-course__meta { margin: 0; font-size: .875rem; font-weight: 700; color: var(--bx-muted); }
.s-course--soon .s-course__cover { display: grid; place-items: center; background: var(--bx-lilac); }
.s-course--soon .s-course__cover span { position: static; }

/* The Courses carousel: a row that scrolls sideways, three cards across on a wide screen. */
.s-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; box-sizing: border-box; width: calc(100% + 8px); min-width: 0; padding: 4px 4px 16px; margin: -4px -4px 0; }
.s-rail > * { scroll-snap-align: start; }
.s-rail:focus-visible { outline: 3px solid var(--bx-cornflower); outline-offset: 2px; border-radius: 16px; }
@media (max-width: 64rem) { .s-rail { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 40rem) { .s-rail { grid-auto-columns: 85%; } }
.s-rail__nav { display: flex; gap: 10px; }
.s-rail__nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: #FFFFFF; color: var(--ink); cursor: pointer; }
.s-rail__nav button:disabled { opacity: .35; cursor: default; }
.s-rail__back { display: grid; transform: scaleX(-1); }
.s-event-next { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 2px solid var(--bx-lilac); border-radius: 24px; background: #FFFFFF; min-width: 0; }
.s-event-next .s-when span:first-child { font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.s-event-next .s-form { padding: 0; border: 0; border-radius: 0; }
.video-slot--tall { aspect-ratio: 9 / 16; max-width: 300px; margin-inline: auto; border-radius: 16px; }
.s-price { font-size: 2.875rem; font-weight: 900; line-height: 1; color: var(--ink); }
.s-preview { position: relative; display: block; height: 220px; border-radius: 16px; overflow: hidden; }
.s-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-preview::after { content: ""; position: absolute; inset: 0; background: rgba(31, 22, 64, .2); }
.s-preview span { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--bx-tickle); color: var(--ink); }

/* --- Plans ------------------------------------------------------------------------------ */
.s-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: stretch; }
.s-plan { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 28px; border: 2px solid transparent; border-radius: 28px; background: var(--bx-lavender); color: var(--ink); }
.s-plan--beginners { background: var(--bx-pink-bg); }
.s-plan--premium { background: var(--ink); color: #FFFFFF; }
.s-plan--choice { cursor: pointer; }
.s-plan--choice:has(input:checked) { border-color: var(--bx-cornflower); box-shadow: 0 0 0 2px var(--bx-cornflower); }
.s-plan__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--bx-tickle); color: var(--ink); font-size: .81rem; font-weight: 800; }
.s-plan__name { margin: 0; font-size: 1.625rem; font-weight: 800; line-height: 1.1; color: inherit; }
.s-plan__tag { margin: -8px 0 0; font-size: .94rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bx-cornflower); }
.s-plan--premium .s-plan__tag { color: var(--bx-tickle); }
.s-plan__blurb { margin: 0; font-weight: 600; line-height: 1.45; }
.s-plan__price { margin: 0; font-size: 2.875rem; font-weight: 900; line-height: 1; }
.s-plan__price small { font-size: 1rem; font-weight: 600; }
.s-plan__window { margin: 0; font-weight: 700; color: var(--bx-muted); }
.s-plan--premium .s-plan__window { color: #D9D3F5; }
.s-plan .s-list { flex: 1 1 auto; }
.s-plan--premium .s-list li { color: #D9D3F5; }
.s-plan--premium .s-list li::before { color: var(--bx-tickle); }
.s-plan form { margin: 0; }
.s-plan .btn { width: 100%; }
.s-plan .s-renew { display: flex; gap: 8px; margin-top: 10px; font-size: .875rem; line-height: 1.4; }
.s-plan .s-renew input { flex: none; margin-top: 3px; }
.s-plan .btn--ghost { border-color: var(--ink); }
.s-plan--premium .btn--primary { background: var(--bx-tickle); color: var(--ink); }
.s-plan--premium .btn--primary:hover { background: var(--bx-hot-pink); color: var(--ink); }

/* --- Forms ------------------------------------------------------------------------------ */
.s-form { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 26px; border: 2px solid var(--bx-lilac); border-radius: 24px; background: #FFFFFF; color: var(--ink); min-width: 0; }
.s-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.s-form label, .s-field { display: flex; flex-direction: column; gap: 6px; font-size: .94rem; font-weight: 700; }
.s-form input:not([type="checkbox"]):not([type="radio"]), .s-form select, .s-form textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 2px solid var(--bx-lilac); border-radius: 14px;
    background: #FFFFFF; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400;
}
.s-form textarea { min-height: 110px; resize: vertical; }
.s-form input:focus-visible, .s-form select:focus-visible, .s-form textarea:focus-visible { outline: 3px solid var(--bx-heliotrope); outline-offset: 1px; }
.s-form .btn { align-self: flex-start; }
.s-form__note { margin: 0; font-size: .875rem; color: var(--bx-muted); }
.s-form__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #A5342A; font-weight: 700; }
.s-form__ok { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--good-bg); color: var(--good); font-weight: 700; }
.s-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Gift codes already bought ---------------------------------------------------------- */
.s-codes { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.s-codes li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; border: 2px solid var(--bx-lilac); border-radius: 16px; background: #FFFFFF; }
.s-codes code { font-size: 1.0625rem; font-weight: 700; }

/* --- Legal ------------------------------------------------------------------------------- */
.s-legal { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.s-legal nav { position: sticky; top: 16px; flex: 0 1 280px; display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 32px); overflow-y: auto; font-size: .94rem; }
.s-legal nav a { color: var(--bx-muted); text-decoration: none; }
.s-legal nav a:hover { color: var(--bx-cornflower); }
.s-legal nav a.btn { margin: 14px 0 6px; color: var(--ink); }
.s-legal nav a.btn:first-child { margin-top: 0; }
.s-legal article { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.s-legal h2 { margin: 24px 0 0; font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; line-height: 1.05; scroll-margin-top: 16px; }
.s-legal h2:first-child { margin-top: 0; }
.s-legal h3 { margin: 18px 0 0; font-size: 1.375rem; font-weight: 800; line-height: 1.15; scroll-margin-top: 16px; }
.s-legal p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--bx-body); }
@media (max-width: 60rem) { .s-legal nav { position: static; flex-basis: 100%; max-height: none; } }

/* --- Blog -------------------------------------------------------------------------------- */
.s-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 60rem) {
    .s-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-cards--row > :nth-child(3) { display: none; }
}
@media (max-width: 40rem) {
    .s-cards--3 { grid-template-columns: minmax(0, 1fr); }
    .s-cards--row > :nth-child(3) { display: flex; }
}
/* The pictures have words on them, so they are never cropped. */
.s-post-card .s-course__cover { height: auto; aspect-ratio: 40 / 21; }
.s-post-card h3 a { color: inherit; text-decoration: none; }
.s-post-card h3 a:hover { color: var(--bx-cornflower); }
.s-post-card .s-link { margin-top: auto; }
.s-post__hero { display: block; width: 100%; height: auto; border-radius: 28px; }
.s-article { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 40px auto 0; min-width: 0; }
.s-article .s-eyebrow a { color: inherit; }
.s-h1--post { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.03; letter-spacing: -1.5px; }
.s-article__body { font-size: 1.1875rem; line-height: 1.65; color: var(--bx-body); }
.s-article__body p { margin: 0 0 1em; }
.s-article__body h2 { margin: 40px 0 10px; font-size: 1.875rem; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; color: var(--ink); }
.s-article__body strong { color: var(--ink); }
.s-article__body ul, .s-article__body ol { margin: 0 0 1em; padding-left: 1.4em; }
.s-article__body li { margin: 6px 0; }
.s-article__body figure { margin: 32px 0; }
.s-article__body figure img { display: block; width: 100%; height: auto; border: 2px solid var(--bx-lilac); border-radius: 22px; }
.s-article__table { margin: 20px 0; overflow-x: auto; }
.s-article__table table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.s-article__table th, .s-article__table td { padding: 12px 14px; border-bottom: 2px solid var(--bx-lilac); text-align: left; }
.s-article__table th { background: var(--bx-lavender); color: var(--ink); }
.s-article__join { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding: 28px 30px; border-radius: 24px; background: var(--bx-pink-bg); }
.s-article__note { margin: 14px 0 0; padding-top: 16px; border-top: 2px solid var(--bx-lilac); font-size: .875rem; line-height: 1.5; color: var(--bx-muted); }
@media (max-width: 40rem) {
    .s-post__hero { border-radius: 18px; }
    .s-article { margin-top: 24px; }
    .s-article__body { font-size: 1.0625rem; }
    .s-article__join { padding: 22px; }
}

/* --- Footer -------------------------------------------------------------------------------- */
.s-footer { padding: 64px 32px 32px; background: var(--bx-lavender); color: var(--ink); }
.s-footer__top { display: flex; flex-wrap: wrap; gap: 40px; }
.s-footer__brand { flex: 2 1 320px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.s-footer__brand .brand { align-self: flex-start; gap: 10px; }
.s-footer__brand .brand__word { font-size: 1.875rem; font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.s-footer__brand p { margin: 0; max-width: 24rem; color: var(--bx-muted); line-height: 1.5; }
.s-social { display: flex; flex-wrap: wrap; gap: 8px; }
.s-social a { display: inline-flex; align-items: center; padding: 10px 16px; border: 2px solid var(--bx-lilac); border-radius: 999px; color: var(--ink); font-size: .875rem; font-weight: 700; text-decoration: none; }
.s-social a:hover { border-color: var(--bx-cornflower); color: var(--bx-cornflower); }
.s-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.s-footer__col strong { font-size: .94rem; font-weight: 800; }
.s-footer__col a { color: var(--bx-muted); font-size: .94rem; text-decoration: none; }
.s-footer__col a:hover { color: var(--bx-cornflower); text-decoration: underline; }
.s-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--bx-lilac); font-size: .875rem; color: var(--bx-muted); }
.s-footer__base a { color: inherit; }
@media (max-width: 40rem) { .s-footer { padding: 48px 16px 24px; } }

/* --- Sign up and log in: the form beside a picture ------------------------------------------- */
.s-auth { display: flex; flex-wrap: wrap; align-items: stretch; min-height: calc(100vh - 80px); }
.s-auth__form { flex: 1 1 460px; display: flex; justify-content: center; align-items: center; min-width: 0; padding: 40px 32px; }
.s-auth__box { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 460px; }
.s-auth__box .s-form { padding: 0; border: 0; border-radius: 0; background: none; }
.s-auth__box .s-form .btn { align-self: stretch; }
.s-auth__box .field { display: flex; flex-direction: column; gap: 6px; }
.s-auth__box .field input { width: 100%; }
.s-auth__alt { margin: 0; color: var(--bx-muted); }
.s-auth__art { flex: 1 1 460px; display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; padding: 40px 32px; background: var(--bx-lavender); }
.s-auth__art img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; }
.s-auth__art .s-quote { padding: 0; background: none; }
.s-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: .94rem; font-weight: 700; color: var(--bx-muted); }
.s-steps li { display: flex; align-items: center; gap: 8px; }
.s-steps span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bx-lilac); color: var(--ink); font-weight: 800; }
.s-steps li:first-child { color: var(--ink); }
.s-steps li:first-child span { background: var(--bx-cornflower); color: #FFFFFF; }
@media (max-width: 40rem) { .s-auth__form { padding: 28px 16px; } .s-auth__art { padding: 28px 16px; } }
