/* French School Support - home page [fss_home]. Brand guide v1.0. Scoped to .fssh. */

@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

.fssh {
	/* Core palette */
	--blue: #07579B;        /* Academic Blue: navigation, links, primary actions */
	--navy: #003F73;        /* Deep Navy */
	--sky: #E8F1F8;         /* Sky Wash */
	--paper: #F5F8FB;       /* Paper */
	--ink: #172333;         /* Ink */
	--ink-2: #4B5A6E;
	--line: #DCE5EE;
	/* Functional accents: status only */
	--progress: #2F7D68;
	--attention: #D6A948;
	--support: #B84A4A;

	font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.fssh *, .fssh *::before, .fssh *::after { box-sizing: border-box; }
/* Low-specificity reset (:where) so component classes below always win, while theme/Elementor defaults are neutralised. */
:where(.fssh) :where(h1, h2, h3, p, ul, ol, li, figure) { margin: 0; padding: 0; }
:where(.fssh) :where(h1, h2, h3) { font-family: inherit; color: var(--ink); text-transform: none; letter-spacing: normal; }
:where(.fssh) :where(ul, ol) { list-style: none; }
.fssh strong, .fssh b { font-weight: 700; }
.fssh a { color: var(--blue); }

.fssh-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.fssh-narrow { max-width: 820px; }
.fssh-center { text-align: center; }
.fssh-muted { color: var(--ink-2); }

/* Type scale: Display 52 / H1 40 / H2 28 / Body 18 */
.fssh-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.fssh-label-light { color: #A9CBEA; }
.fssh-display { font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
.fssh-display span { display: block; color: var(--blue); }
.fssh-h2 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 36px; max-width: 760px; }
.fssh-h2.fssh-center { margin-left: auto; margin-right: auto; }
.fssh-card h3, .fssh-feature h3, .fssh-steps h3, .fssh-trust-item h3 { font-size: 21px; line-height: 1.3; font-weight: 700; margin: 14px 0 8px; }
.fssh-lead { font-size: 21px; color: var(--ink-2); margin-top: 20px; max-width: 520px; }
.fssh-body { color: var(--ink-2); margin-bottom: 14px; max-width: 480px; }

/* Buttons: sentence case */
.fssh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fssh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 8px; font-size: 18px; font-weight: 700; text-decoration: none !important; transition: background .15s ease, border-color .15s ease, color .15s ease; border: 2px solid transparent; }
.fssh-btn:focus-visible { outline: 3px solid #A9CBEA; outline-offset: 2px; }
.fssh-btn-primary { background: var(--blue); color: #fff !important; }
.fssh-btn-primary:hover { background: var(--navy); }
.fssh-btn-secondary { background: #fff; color: var(--blue) !important; border-color: var(--blue); }
.fssh-btn-secondary:hover { background: var(--sky); }
.fssh-btn-light { background: #fff; color: var(--navy) !important; }
.fssh-btn-light:hover { background: var(--sky); }

.fssh-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.fssh-proof li { position: relative; padding-left: 22px; }
.fssh-proof li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Hero */
.fssh-hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.fssh-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

/* Product preview panel */
.fssh-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 24px 48px -24px rgba(0, 63, 115, .22); }
.fssh-panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.fssh-panel-title { font-size: 20px; font-weight: 700; }
.fssh-panel-sub { font-size: 14px; color: var(--ink-2); }
.fssh-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fssh-status { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.fssh-status-subject { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.fssh-status-what { font-size: 18px; font-weight: 700; }
.fssh-pill { display: inline-block; align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.fssh-pill-progress { background: rgba(47, 125, 104, .12); color: var(--progress); }
.fssh-pill-attention { background: rgba(214, 169, 72, .18); color: #7A5A12; }
.fssh-pill-support { background: rgba(184, 74, 74, .12); color: var(--support); }
.fssh-explain { margin-top: 16px; padding: 16px; border-radius: 10px; border-left: 4px solid var(--blue); background: var(--sky); }
.fssh-explain-fr { font-weight: 700; font-size: 18px; }
.fssh-explain-en { color: var(--ink-2); font-style: italic; margin-top: 2px; }
.fssh-explain-help { margin-top: 10px; font-size: 16px; }

/* Sections */
.fssh-section { padding: 96px 0; }
.fssh-section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fssh-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fssh-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fssh-icon { width: 32px; height: 32px; color: var(--blue); flex: none; }
.fssh-card, .fssh-feature { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.fssh-card p, .fssh-feature p { color: var(--ink-2); font-size: 17px; }

/* Steps */
.fssh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.fssh-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.fssh-steps p { color: var(--ink-2); font-size: 17px; }
.fssh-step-num { position: absolute; top: 24px; right: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* Example */
.fssh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fssh-sample { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 24px 48px -28px rgba(0, 63, 115, .2); }
.fssh-sample-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.fssh-sample-head .fssh-pill { margin-top: 0; }
.fssh-num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 8px; background: var(--sky); color: var(--blue); font-weight: 700; }
.fssh-sample-row { margin-top: 12px; font-size: 17px; }
.fssh-sample .fssh-explain-help { background: var(--sky); padding: 12px 14px; border-radius: 8px; margin-top: 12px; }
.fssh-sample-answer { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(47, 125, 104, .1); font-size: 17px; }

/* Subjects */
.fssh-subjects { padding: 80px 0; }
.fssh-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.fssh-chips li { padding: 10px 18px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 17px; }
.fssh-subjects .fssh-h2 { margin-bottom: 28px; }

/* Trust (navy band) */
.fssh-trust { background: var(--navy); }
.fssh-trust .fssh-h2, .fssh-trust h3 { color: #fff; }
.fssh-trust .fssh-icon { color: #A9CBEA; }
.fssh-trust p { color: #C9DAEA; font-size: 17px; }

/* FAQ */
.fssh-faq { border-top: 1px solid var(--line); }
.fssh-faq details { border-bottom: 1px solid var(--line); }
.fssh-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 20px; font-weight: 700; position: relative; }
.fssh-faq summary::-webkit-details-marker { display: none; }
.fssh-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.fssh-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fssh-faq summary:focus-visible { outline: 3px solid #A9CBEA; outline-offset: 2px; }
.fssh-faq details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* Final CTA */
.fssh-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); padding: 96px 0; text-align: center; }
.fssh-cta-inner { display: flex; flex-direction: column; align-items: center; }
.fssh-cta-title { font-size: 52px; line-height: 1.1; font-weight: 700; color: #fff !important; letter-spacing: -0.015em; }
.fssh-cta-lead { color: #DCE9F5; font-size: 21px; margin: 16px 0 32px; }


/* Calendar chips (event types). Gold = a test (needs attention); blue tones = schoolwork; grey = no school. */
.fssh-ev { display: block; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; }
.fssh-ev-test { background: rgba(214, 169, 72, .18); color: #7A5A12; border-color: var(--attention); }
.fssh-ev-hw { background: var(--sky); color: var(--blue); border-color: var(--blue); }
.fssh-ev-proj { background: #E1E8F0; color: var(--navy); border-color: var(--navy); }
.fssh-ev-off { background: #EEF1F4; color: #5B6878; border-color: #9AA6B4; }
.fssh-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 0; margin: 0 5px 0 12px; vertical-align: 0; padding: 0; }
.fssh-dot.fssh-ev-test { background: var(--attention); }
.fssh-dot.fssh-ev-hw { background: var(--blue); }
.fssh-dot.fssh-ev-proj { background: var(--navy); }
.fssh-dot.fssh-ev-off { background: #9AA6B4; }

/* Hero: week strip + coming up */
.fssh-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fssh-week li { display: flex; flex-direction: column; gap: 3px; min-height: 108px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); min-width: 0; }
.fssh-week li.is-today { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #fff; }
.fssh-wd { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.fssh-dn { font-size: 22px; font-weight: 700; line-height: 1.1; }
.fssh-cyc { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-bottom: 4px; }
.fssh-week .fssh-ev { margin-top: auto; }
.fssh-mini-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 18px 0 8px; }
.fssh-coming li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.fssh-coming li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.fssh-coming-fr { font-size: 14px; color: var(--ink-2); }
.fssh-coming .fssh-pill { margin-top: 0; flex: none; }

/* Calendar spotlight: month grid */
.fssh-month { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 24px 48px -28px rgba(0, 63, 115, .2); }
.fssh-month-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; font-size: 20px; }
.fssh-month-legend { font-size: 13px; color: var(--ink-2); }
.fssh-month-legend .fssh-dot:first-child { margin-left: 0; }
.fssh-month-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fssh-mh { padding: 6px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.fssh-md { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 82px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.fssh-md b { font-size: 14px; }
.fssh-md em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-2); background: var(--paper); border-radius: 3px; padding: 0 4px; }
.fssh-md.is-sel { box-shadow: inset 0 0 0 2px var(--blue); }
.fssh-dayline { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--sky); font-size: 15px; }
.fssh-dayline span { color: var(--ink-2); }
.fssh-checks { display: grid; gap: 10px; margin-top: 8px; }
.fssh-checks li { position: relative; padding-left: 30px; color: var(--ink); }
.fssh-checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--progress); border-bottom: 2px solid var(--progress); transform: rotate(-45deg); }

/* Practice loop spotlight */
.fssh-flow { counter-reset: flow; display: grid; gap: 16px; }
.fssh-flow li { counter-increment: flow; position: relative; padding-left: 50px; color: var(--ink-2); max-width: 500px; }
.fssh-flow li strong { color: var(--ink); }
.fssh-flow li::before { content: counter(flow); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.fssh-score-title { font-weight: 700; font-size: 19px; }
.fssh-score-row { display: flex; align-items: center; gap: 18px; padding: 6px 0 16px; border-bottom: 1px solid var(--line); }
.fssh-score-big { font-size: 56px; font-weight: 700; line-height: 1; color: var(--blue); }
.fssh-score-big small { font-size: 26px; color: var(--ink-2); }
.fssh-score-note { font-size: 16px; color: var(--ink-2); }
.fssh-missed { display: grid; gap: 10px; margin: 16px 0 20px; }
.fssh-missed li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: rgba(184, 74, 74, .07); font-size: 16px; }
.fssh-missed li > span:last-child { display: flex; flex-direction: column; font-weight: 700; }
.fssh-missed em { font-style: normal; font-weight: 400; color: var(--ink-2); font-size: 15px; }
.fssh-x { flex: none; position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--support); margin-top: 2px; }
.fssh-x::before, .fssh-x::after { content: ""; position: absolute; left: 9px; top: 5px; width: 2px; height: 10px; background: #fff; transform: rotate(45deg); }
.fssh-x::after { transform: rotate(-45deg); }
.fssh-btn-block { display: flex; width: 100%; cursor: default; font-size: 17px; text-align: center; padding: 0 16px; }

/* Tablet */
@media (max-width: 1024px) {
	.fssh-hero-grid, .fssh-split { grid-template-columns: 1fr; gap: 48px; }
	.fssh-grid4 { grid-template-columns: repeat(2, 1fr); }
	.fssh-hero-visual { max-width: 560px; }
	.fssh-split > .fssh-month { order: 2; } /* copy first when stacked */
}

/* Phone */
@media (max-width: 760px) {
	.fssh { font-size: 17px; }
	.fssh-wrap { padding: 0 16px; }
	.fssh-hero { padding: 48px 0 56px; }
	.fssh-display { font-size: 38px; }
	.fssh-h2 { font-size: 30px; margin-bottom: 24px; }
	.fssh-lead { font-size: 19px; }
	.fssh-section, .fssh-cta { padding: 64px 0; }
	.fssh-subjects { padding: 56px 0; }
	.fssh-grid3, .fssh-steps, .fssh-grid4 { grid-template-columns: 1fr; gap: 16px; }
	.fssh-card, .fssh-feature, .fssh-steps li, .fssh-sample { padding: 22px; }
	.fssh-panel { padding: 18px; }
	.fssh-status-grid { grid-template-columns: 1fr; }
	.fssh-status { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
	.fssh-status-subject { flex-basis: 100%; }
	.fssh-status .fssh-pill { margin: 0 0 0 auto; }
	.fssh-actions .fssh-btn { flex: 1 1 100%; }
	.fssh-week { gap: 5px; }
	.fssh-week li { min-height: 96px; padding: 8px 5px; }
	.fssh-week .fssh-ev { font-size: 10px; padding: 1px 3px; }
	.fssh-dn { font-size: 18px; }
	.fssh-cyc { font-size: 10px; padding: 0 3px; }
	.fssh-month { padding: 14px; }
	.fssh-md { min-height: 64px; padding: 4px; }
	.fssh-md .fssh-ev { font-size: 0; padding: 0; height: 6px; border-left: 0; border-radius: 3px; }
	.fssh-md .fssh-ev-test { background: var(--attention); }
	.fssh-md .fssh-ev-hw { background: var(--blue); }
	.fssh-md .fssh-ev-proj { background: var(--navy); }
	.fssh-md .fssh-ev-off { background: #9AA6B4; }
	.fssh-md em { position: static; align-self: flex-start; }
	.fssh-mh { padding: 6px 4px; letter-spacing: .04em; font-size: 11px; }
	.fssh-score-big { font-size: 46px; }
	.fssh-coming li { font-size: 15px; }
	.fssh-cta-title { font-size: 38px; }
	.fssh-faq summary { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.fssh * { transition: none !important; }
}

/* Let chips wrap inside the hero week and the month grid instead of cutting words. */
.fssh-week .fssh-ev, .fssh-md .fssh-ev { white-space: normal; overflow-wrap: anywhere; }


/* ===== Home page language switch (pure CSS). English is checked first. ===== */
.fssh-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
#fssh-lang-en:checked ~ .fssh-lb-fr, #fssh-lang-fr:checked ~ .fssh-lb-en { display: none; }
.fssh-lang { display: inline-flex; margin: 0 0 20px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.fssh-lang label { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; user-select: none; }
#fssh-lang-en:checked ~ .fssh-lb label[for="fssh-lang-en"],
#fssh-lang-fr:checked ~ .fssh-lb label[for="fssh-lang-fr"] { background: var(--navy); color: #fff; }
#fssh-lang-en:focus-visible ~ .fssh-lb label[for="fssh-lang-en"],
#fssh-lang-fr:focus-visible ~ .fssh-lb label[for="fssh-lang-fr"] { outline: 3px solid #A9CBEA; outline-offset: 2px; }

/* ===== Pricing page [fss_pricing] ===== */
.fssp-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fssp-head { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: 80px 0 40px; }
.fssp-title { margin: 0 auto; max-width: 820px; }
.fssp-lead { margin: 18px auto 0; max-width: 640px; }
.fssp-toggle { display: inline-flex; margin-top: 32px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.fssp-toggle label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 17px; color: var(--ink-2); cursor: pointer; user-select: none; }
.fssp-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(47, 125, 104, .12); color: var(--progress); }
#fssp-monthly:checked ~ .fssp-body label[for="fssp-monthly"],
#fssp-yearly:checked ~ .fssp-body label[for="fssp-yearly"] { background: var(--blue); color: #fff; }
#fssp-yearly:checked ~ .fssp-body label[for="fssp-yearly"] .fssp-badge { background: rgba(255, 255, 255, .2); color: #fff; }
#fssp-monthly:focus-visible ~ .fssp-body label[for="fssp-monthly"],
#fssp-yearly:focus-visible ~ .fssp-body label[for="fssp-yearly"] { outline: 3px solid #A9CBEA; outline-offset: 2px; }
.fssp-y { display: none; }
#fssp-yearly:checked ~ .fssp-body .fssp-y { display: block; }
#fssp-yearly:checked ~ .fssp-body .fssp-m { display: none; }

/* Language switch (pure CSS). English is checked first. */
#fssp-lang-en:checked ~ .fssp-body-fr, #fssp-lang-fr:checked ~ .fssp-body-en { display: none; }
.fssp-lang { display: inline-flex; margin: 0 0 20px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.fssp-lang label { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; user-select: none; }
#fssp-lang-en:checked ~ .fssp-body label[for="fssp-lang-en"],
#fssp-lang-fr:checked ~ .fssp-body label[for="fssp-lang-fr"] { background: var(--navy); color: #fff; }
#fssp-lang-en:focus-visible ~ .fssp-body label[for="fssp-lang-en"],
#fssp-lang-fr:focus-visible ~ .fssp-body label[for="fssp-lang-fr"] { outline: 3px solid #A9CBEA; outline-offset: 2px; }

.fssp-plans { padding: 24px 0 96px; }
.fssp-grid { display: grid; gap: 20px; align-items: stretch; }
.fssp-grid-1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.fssp-grid-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.fssp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.fssp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.fssp-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.fssp-card.is-popular { border: 2px solid var(--blue); box-shadow: 0 24px 48px -24px rgba(0, 63, 115, .28); }
.fssp-flag { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.fssp-name { font-size: 24px; line-height: 1.2; font-weight: 700; }
.fssp-who { color: var(--ink-2); font-size: 16px; margin-top: 4px; min-height: 24px; }
.fssp-price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.fssp-amount { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.fssp-per { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.fssp-note { font-size: 14px; color: var(--ink-2); margin-top: 6px; min-height: 21px; }
.fssp-cta { width: 100%; margin-top: 18px; }
.fssp-list { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }
.fssp-list li { position: relative; padding-left: 26px; }
.fssp-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--progress); border-bottom: 2px solid var(--progress); transform: rotate(-45deg); }

.fssp-tutor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-top: 28px; padding: 32px; border-radius: 16px; background: var(--navy); color: #fff; }
.fssp-tutor .fssh-label { color: #A9CBEA; margin-bottom: 8px; }
.fssp-tutor .fssp-name, .fssp-tutor .fssp-amount { color: #fff; }
.fssp-tutor .fssp-who, .fssp-tutor .fssp-per, .fssp-tutor .fssp-note { color: #C9DAEA; }
.fssp-tutor .fssp-list { border-top-color: rgba(255, 255, 255, .18); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fssp-tutor .fssp-list li::before { border-color: #8FD0B8; }
.fssp-tutor .fssh-btn-primary { background: #fff; color: var(--navy) !important; }
.fssp-tutor .fssh-btn-primary:hover { background: var(--sky); }
.fssp-tutor-buy { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 24px; }
.fssp-tutor-buy .fssp-price { margin-top: 0; }
.fssp-fine { font-size: 13px; color: #C9DAEA; margin-top: 12px; }

.fssp-included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fssp-included li { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.fssp-included strong { font-size: 18px; }
.fssp-included span { color: var(--ink-2); font-size: 16px; }
.fssp-empty { margin: 0 auto; }

@media (max-width: 1024px) {
	.fssp-grid-3, .fssp-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.fssp-included { grid-template-columns: repeat(2, 1fr); }
	.fssp-tutor { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
	.fssp-head { padding: 48px 0 24px; }
	.fssp-grid-2, .fssp-grid-3, .fssp-grid-4 { grid-template-columns: 1fr; }
	.fssp-card { padding: 26px 20px; }
	.fssp-toggle label { padding: 0 16px; font-size: 16px; }
	.fssp-tutor { padding: 24px 20px; }
	.fssp-tutor .fssp-list { grid-template-columns: 1fr; }
	.fssp-included { grid-template-columns: 1fr; gap: 12px; }
	.fssp-plans { padding-bottom: 64px; }
}

/* Logged-in member: their current plan */
.fssp-card.is-current { border: 2px solid var(--progress); }
.fssp-flag-mine { background: var(--progress); }
.fssp-tutor.is-current { box-shadow: inset 0 0 0 3px #8FD0B8; }
.fssp-cta { padding: 0 12px; font-size: 17px; text-align: center; }
