/**
 * FlipBook marketing site.
 *
 * The product turns a PDF into something people read, so the page is typeset
 * the way the thing you make with it would be: a reading serif carries the
 * editorial voice, a plain sans carries the tool's voice, and the one bold
 * element on the page is an actual open book rather than a block of colour.
 *
 * Brand colour, hero gradient and footer are overridden inline from the
 * plugin settings (see FBS_Frontend::assets), so --fb-blue and --fb-navy are
 * the contract this file is written against.
 */

/*
 * Both typefaces ship with the plugin (SIL Open Font License, see
 * assets/fonts/). They used to be pulled from Google Fonts with an @import,
 * which held up the first paint of every page while a second stylesheet
 * downloaded, sent every visitor's address to Google, and fell back to
 * Times New Roman wherever Google was blocked.
 */

@font-face {
	font-family: "FBS Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url( "../fonts/inter-latin-wght-normal.woff2" ) format( "woff2-variations" ), url( "../fonts/inter-latin-wght-normal.woff2" ) format( "woff2" );
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "FBS Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url( "../fonts/inter-latin-ext-wght-normal.woff2" ) format( "woff2-variations" ), url( "../fonts/inter-latin-ext-wght-normal.woff2" ) format( "woff2" );
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: normal;
	font-display: swap;
	font-weight: 300;
	src: url( "../fonts/spectral-latin-300-normal.woff2" ) format( "woff2" );
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: normal;
	font-display: swap;
	font-weight: 300;
	src: url( "../fonts/spectral-latin-ext-300-normal.woff2" ) format( "woff2" );
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url( "../fonts/spectral-latin-400-normal.woff2" ) format( "woff2" );
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url( "../fonts/spectral-latin-ext-400-normal.woff2" ) format( "woff2" );
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url( "../fonts/spectral-latin-600-normal.woff2" ) format( "woff2" );
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url( "../fonts/spectral-latin-ext-600-normal.woff2" ) format( "woff2" );
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "FBS Spectral";
	font-style: italic;
	font-display: swap;
	font-weight: 400;
	src: url( "../fonts/spectral-latin-400-italic.woff2" ) format( "woff2" );
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.fbsite {
	/* Server-driven brand tokens; the values here are the fallbacks. */
	--fb-blue: #3d4be8;
	--fb-blue-dark: #2c38c0;
	--fb-blue-soft: #e7e9fd;
	--fb-navy: #111647;
	--fb-navy-2: #283286;
	--fb-foil: #f2b53c;
	--fb-foil-ink: #2b1d03;
	--fb-foil-soft: #fdf2db;

	/* Paper and ink. Nothing is pure white except a card or a panel, so the
	   page has a surface and the cards sit on it instead of merging into it. */
	--fb-ink: #131735;
	--fb-body: #444b66;
	--fb-paper: #ffffff;
	--fb-page: #f6f7fb;
	--fb-stock: #eceef6;
	--fb-rule: #dfe3ee;

	/* Amber is reserved for things a reader can interact with: hotspots,
	   links placed on a page, the lead form. It never decorates. */
	--fb-mark: var(--fb-foil, #e0a33e);

	--fb-serif: "FBS Spectral", "Spectral", Georgia, "Times New Roman", serif;
	--fb-sans: "FBS Inter", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--fb-wrap: 1180px;

	font-family: var(--fb-sans);
	color: var(--fb-body);
	background: var(--fb-page);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.fbsite *,
.fbsite *::before,
.fbsite *::after {
	box-sizing: border-box;
}

.fbsite img {
	max-width: 100%;
}

.fb-wrap {
	width: 100%;
	max-width: var(--fb-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* Headings ---------------------------------------------------------- */

.fbsite h1,
.fbsite h2,
.fbsite h3 {
	font-family: var(--fb-serif);
	color: var(--fb-ink);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.12;
	margin: 0 0 14px;
}

.fbsite h1 { font-size: clamp( 38px, 5vw, 62px ); }
.fbsite h2 { font-size: clamp( 28px, 3.4vw, 40px ); }
.fbsite h3 { font-size: 20px; line-height: 1.3; }

.fbsite h4 {
	font-family: var(--fb-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--fb-ink);
	margin: 0 0 8px;
}

.fbsite p { margin: 0 0 14px; }
.fbsite p:last-child { margin-bottom: 0; }

.fbsite a { color: var(--fb-blue); }

/* A small label. Sentence case, not a tracked-out caps eyebrow. */
.fb-eyebrow,
.fb-kicker {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: var(--fb-blue);
	margin-bottom: 10px;
}

.fb-hero .fb-eyebrow,
.fb-hero .fb-kicker {
	color: var(--fb-foil);
}

/* Buttons ----------------------------------------------------------- */

.fb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
	white-space: nowrap;
}

.fb-btn:focus-visible {
	outline: 3px solid var(--fb-mark);
	outline-offset: 2px;
}

/*
 * Scoped under .fbsite so these beat the `.fbsite a` link colour, which has
 * one more element in its selector. Unscoped, every button rendered as a link
 * took the brand green for its text — which is why "See how it works" was
 * dark green lettering on a dark green hero and could not be read at all.
 */
.fbsite .fb-btn-primary {
	background: var(--fb-blue);
	color: #fff;
}

.fbsite .fb-btn-primary:hover { background: var(--fb-blue-dark); }

.fbsite .fb-btn-outline {
	border-color: var(--fb-rule);
	color: var(--fb-ink);
	background: var(--fb-paper);
}

.fbsite .fb-btn-outline:hover { border-color: var(--fb-blue); color: var(--fb-blue); }

.fbsite .fb-btn-light {
	background: #fff;
	color: var(--fb-navy);
}

.fbsite .fb-btn-light:hover { background: #eef0fb; color: var(--fb-navy); }

.fbsite .fb-btn-ghost {
	border-color: rgba( 255, 255, 255, .55 );
	color: #fff;
	background: transparent;
}

.fbsite .fb-btn-ghost:hover {
	border-color: #fff;
	background: rgba( 255, 255, 255, .14 );
	color: #fff;
}

.fb-btn-lg { padding: 15px 30px; font-size: 16px; }

/* Header ------------------------------------------------------------ */

.fb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba( 255, 255, 255, .92 );
	backdrop-filter: saturate( 180% ) blur( 10px );
	border-bottom: 1px solid var(--fb-rule);
}

.fb-header-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: 68px;
}

.fb-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--fb-serif);
	font-size: 21px;
	font-weight: 600;
	color: var(--fb-ink);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.fb-logo-mark {
	width: 30px;
	height: 30px;
	border-radius: 7px;
	background: var(--fb-blue);
	display: grid;
	place-items: center;
	position: relative;
	flex: 0 0 auto;
}

/* The mark is a book: two leaves with a fold between them. */
.fb-logo-mark::before,
.fb-logo-mark::after {
	content: "";
	position: absolute;
	top: 8px;
	width: 6px;
	height: 14px;
	background: #fff;
	border-radius: 1px 2px 2px 1px;
}

.fb-logo-mark::before { left: 7px; opacity: .95; }
.fb-logo-mark::after { right: 7px; opacity: .65; }

.fb-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.fb-nav a {
	color: var(--fb-body);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
}

.fb-nav a:hover { color: var(--fb-ink); }

.fb-nav a.fb-nav-cta {
	background: var(--fb-blue);
	color: #fff;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 600;
}

.fb-nav a.fb-nav-cta:hover { background: var(--fb-blue-dark); }

.fb-burger {
	display: none;
	border: 1px solid var(--fb-rule);
	background: #fff;
	border-radius: 9px;
	width: 42px;
	height: 38px;
	font-size: 17px;
	cursor: pointer;
	color: var(--fb-ink);
}

/* Hero -------------------------------------------------------------- */

.fb-hero {
	background: linear-gradient( 150deg, var(--fb-navy) 0%, var(--fb-navy-2) 55%, var(--fb-blue-dark) 100% );
	color: #fff;
	padding: 76px 0 84px;
	position: relative;
	overflow: hidden;
}

/* A faint rule grid, like a sheet of layout paper under the book. */
.fb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient( rgba( 255, 255, 255, .045 ) 1px, transparent 1px );
	background-size: 100% 34px;
	pointer-events: none;
}

.fb-hero-in {
	position: relative;
	display: grid;
	grid-template-columns: minmax( 0, 1.02fr ) minmax( 0, 1fr );
	gap: 56px;
	align-items: center;
}

.fb-hero h1 {
	color: #fff;
	font-weight: 300;
	max-width: 15ch;
}

/* A white-label member's own line above their headline. Only ever present
   when they have written one, so it carries its own spacing. */
.fb-hero-eyebrow {
	display: block;
	margin-bottom: 10px;
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba( 255, 255, 255, .78 );
}

.fb-hero-lede {
	font-family: var(--fb-sans);
	font-size: 17.5px;
	line-height: 1.6;
	color: rgba( 255, 255, 255, .82 );
	max-width: 46ch;
	margin-bottom: 10px;
}

.fb-hero-sub {
	font-size: 15.5px;
	color: rgba( 255, 255, 255, .68 );
	max-width: 48ch;
}

.fb-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0 16px;
}

.fb-hero-note {
	font-size: 13.5px;
	color: rgba( 255, 255, 255, .6 );
}

/* Four facts across the foot of the hero. A reader decides here whether to
   keep going, and there was nothing between the headline and twelve cards. */

.fb-proof {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 1px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	background: rgba( 255, 255, 255, .14 );
	border: 1px solid rgba( 255, 255, 255, .14 );
	border-radius: 14px;
	overflow: hidden;
}

.fb-proof li {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 18px 20px;
	background: rgba( 255, 255, 255, .05 );
}

.fb-proof strong {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	letter-spacing: -.01em;
}

.fb-proof span {
	font-size: 13px;
	line-height: 1.45;
	color: rgba( 255, 255, 255, .62 );
}

/* Inner pages use the hero as a slim masthead, not a stage. */
.fb-hero-plain {
	padding: 54px 0 56px;
}

.fb-hero-plain .fb-hero-in {
	display: block;
}

.fb-hero-plain h1 { max-width: 20ch; }

/* The book ---------------------------------------------------------- */

.fb-book {
	position: relative;
	perspective: 1600px;
}

.fb-book-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	aspect-ratio: 143 / 100;
	border-radius: 4px 8px 8px 4px;
	background: var(--fb-paper);
	box-shadow:
		0 1px 0 rgba( 255, 255, 255, .35 ) inset,
		0 30px 60px -18px rgba( 0, 0, 0, .55 ),
		0 6px 18px -8px rgba( 0, 0, 0, .4 );
	transform: rotate( -1.1deg );
	overflow: hidden;
}

/* The fold. */
.fb-book-inner::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 34px;
	margin-left: -17px;
	background: linear-gradient(
		90deg,
		rgba( 19, 23, 53, 0 ) 0%,
		rgba( 19, 23, 53, .13 ) 42%,
		rgba( 19, 23, 53, .2 ) 50%,
		rgba( 19, 23, 53, .07 ) 58%,
		rgba( 19, 23, 53, 0 ) 100%
	);
	pointer-events: none;
}

.fb-page {
	padding: 22px 20px;
	position: relative;
	min-width: 0;
}

.fb-page-l { background: #fff; }
.fb-page-r { background: #fdfdfe; }

.fb-page-title {
	font-family: var(--fb-serif);
	font-size: 15px;
	color: var(--fb-ink);
	margin: 0 0 4px;
	line-height: 1.25;
}

.fb-page-meta {
	font-size: 9.5px;
	color: #666d86;
	margin: 0 0 12px;
}

/* Stand-in text, as grey rules: the page is a prop, not something to read. */
.fb-line {
	height: 5px;
	border-radius: 2px;
	background: #e5e8f1;
	margin-bottom: 7px;
}

.fb-line.s { width: 58%; }
.fb-line.m { width: 82%; }
.fb-line.xs { width: 38%; }

.fb-page-figure {
	height: 74px;
	border-radius: 4px;
	background:
		linear-gradient( 125deg, var(--fb-blue-soft), #dfe3f7 ),
		var(--fb-blue-soft);
	margin: 0 0 12px;
	position: relative;
	overflow: hidden;
}

.fb-page-figure::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, .55 );
}

/* A hotspot sitting on the page, the way a member would place one. */
.fb-hotspot {
	position: absolute;
	left: 14%;
	top: 46%;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px 7px 9px;
	background: var(--fb-mark);
	color: #41300c;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 6px 16px -4px rgba( 0, 0, 0, .4 );
}

.fb-hotspot::before {
	content: "";
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 3px solid #41300c;
	opacity: .85;
}

/* The lead form, tucked against the book. */
.fb-book-chip {
	position: absolute;
	right: -14px;
	bottom: -22px;
	width: 200px;
	background: #fff;
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 18px 40px -12px rgba( 0, 0, 0, .5 );
	transform: rotate( 1.4deg );
}

.fb-chip-title {
	font-size: 12px;
	font-weight: 600;
	color: var(--fb-ink);
	margin-bottom: 9px;
}

.fb-chip-input {
	height: 22px;
	border-radius: 5px;
	background: var(--fb-stock);
	border: 1px solid var(--fb-rule);
	margin-bottom: 7px;
}

.fb-chip-btn {
	height: 24px;
	border-radius: 5px;
	background: var(--fb-blue);
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
}

/* Sections ---------------------------------------------------------- */

.fb-section {
	padding: 74px 0;
}

.fb-section-alt {
	background: var(--fb-stock);
}

/*
 * The heading and its supporting line sit side by side and share the width,
 * instead of the heading hugging the left edge with half the row left empty.
 * The label above stays with the heading.
 */
.fb-section-head {
	display: grid;
	grid-template-columns: minmax( 0, 1.05fr ) minmax( 0, 1fr );
	gap: 10px 56px;
	align-items: end;
	margin-bottom: 40px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--fb-rule);
}

.fb-section-head > .fb-kicker,
.fb-section-head > .fb-eyebrow {
	grid-column: 1;
	margin-bottom: 2px;
}

.fb-section-head > h2 {
	grid-column: 1;
	margin: 0;
	max-width: 21ch;
}

.fb-section-head > p {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: end;
	font-size: 16.5px;
	max-width: 46ch;
	margin: 0;
}

.fb-mt { margin-top: 28px; }

/* Cards ------------------------------------------------------------- */

.fb-grid {
	display: grid;
	gap: 18px;
}

.fb-grid-3 { grid-template-columns: repeat( 3, 1fr ); gap: 20px; }

/* The three cards that carry the argument, then the rest. Twelve identical
   boxes read as a list nobody finishes; this gives the section a top. */

.fb-grid-lead {
	margin-bottom: 20px;
}

.fb-card-lead {
	background: linear-gradient( 180deg, var(--fb-blue-soft), var(--fb-paper) 62% );
	border-color: #d6daf0;
}

.fb-card-lead h3 {
	font-size: 17px;
}

.fb-grid-rest .fb-card {
	background: var(--fb-paper);
}

.fb-card {
	background: var(--fb-paper);
	border: 1px solid var(--fb-rule);
	border-radius: 14px;
	padding: 26px 24px 28px;
	display: grid;
	grid-template-columns: 42px 1fr;
	column-gap: 16px;
	row-gap: 4px;
	align-content: start;
	transition: border-color .15s, box-shadow .15s;
}

.fb-card:hover {
	border-color: #cdd3e6;
	box-shadow: 0 10px 28px -20px rgba( 19, 23, 53, .5 );
}

.fb-section-alt .fb-card {
	background: var(--fb-paper);
}

.fb-card h3 {
	grid-column: 2;
	font-family: var(--fb-sans);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 6px;
	letter-spacing: -0.005em;
}

.fb-card p {
	grid-column: 2;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	color: var(--fb-body);
}

/*
 * The icon is a solid brand tile with a white glyph. Pale green on pale green
 * read as a smudge and gave twelve identical cards nothing to hold on to.
 */
.fb-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--fb-blue);
	color: #fff;
	margin: 2px 0 0;
}

.fb-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Steps — a real sequence, so the numbers carry meaning ------------- */

/* Fits however many steps there are, rather than stranding a fifth one on
   a row of its own. */
.fb-steps {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 185px, 1fr ) );
	gap: 18px;
	counter-reset: fbstep;
}

.fb-step {
	position: relative;
	padding-top: 44px;
	counter-increment: fbstep;
}

.fb-step::before {
	content: counter( fbstep );
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--fb-navy);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--fb-sans);
}

/* The thread running through the sequence. */
.fb-step::after {
	content: "";
	position: absolute;
	top: 16px;
	left: 40px;
	right: -18px;
	height: 1px;
	background: var(--fb-rule);
}

.fb-step:last-child::after { display: none; }

.fb-step h3 {
	font-family: var(--fb-sans);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 6px;
}

.fb-step p {
	font-size: 14.5px;
	margin: 0;
}

/* Split and panels -------------------------------------------------- */

.fb-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.fb-panel {
	background: var(--fb-paper);
	border: 1px solid var(--fb-rule);
	border-radius: 16px;
	padding: 28px;
}

.fb-panel-dark {
	background: linear-gradient( 150deg, var(--fb-navy), var(--fb-navy-2) );
	color: rgba( 255, 255, 255, .82 );
	border: 0;
}

.fb-panel-dark h2,
.fb-panel-dark h3 { color: #fff; }

/* Ticks ------------------------------------------------------------- */

.fb-ticks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fb-ticks li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 11px;
	font-size: 15px;
}

.fb-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 7px;
	height: 12px;
	border-right: 2px solid var(--fb-blue);
	border-bottom: 2px solid var(--fb-blue);
	transform: rotate( 42deg );
}

.fb-panel-dark .fb-ticks li::before {
	border-color: var(--fb-foil);
}

/* Stats ------------------------------------------------------------- */

.fb-stats {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 20px;
	border-top: 1px solid var(--fb-rule);
	border-bottom: 1px solid var(--fb-rule);
	padding: 32px 0;
}

.fb-stat strong {
	display: block;
	font-family: var(--fb-serif);
	font-size: 34px;
	font-weight: 400;
	color: var(--fb-ink);
	line-height: 1.1;
	margin-bottom: 4px;
}

.fb-stat span {
	font-size: 14px;
	color: var(--fb-body);
}

/* CTA --------------------------------------------------------------- */

.fb-cta {
	background: linear-gradient( 150deg, var(--fb-navy) 0%, var(--fb-navy-2) 60%, var(--fb-blue-dark) 100% );
	color: #fff;
	padding: 68px 0;
	text-align: center;
}

.fb-cta h2 { color: #fff; }

.fb-cta p {
	color: rgba( 255, 255, 255, .8 );
	max-width: 54ch;
	margin: 0 auto 8px;
	font-size: 16.5px;
}

.fb-cta-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 24px;
}

/* Tables ------------------------------------------------------------ */

/*
 * A grid or flex child defaults to min-width:auto, so the wide table inside
 * this box pushed its whole track past the viewport instead of scrolling
 * within it — which is what made the help page scroll sideways on a phone.
 */
.fb-help-grid > *,
.fb-split > *,
.fb-grid > *,
.fb-footer-grid > * {
	min-width: 0;
}

.fb-table-wrap {
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--fb-rule);
	border-radius: 14px;
	background: var(--fb-paper);
}

.fb-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 520px;
}

.fb-table th,
.fb-table td {
	padding: 13px 16px;
	text-align: left;
	border-bottom: 1px solid var(--fb-rule);
}

.fb-table th {
	font-weight: 600;
	color: var(--fb-ink);
	background: var(--fb-stock);
	font-size: 13.5px;
}

.fb-table tr:last-child td { border-bottom: 0; }

/* Forms ------------------------------------------------------------- */

.fb-form { max-width: 620px; }

.fb-field { display: block; margin-bottom: 16px; }

.fb-field > span {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--fb-ink);
	margin-bottom: 6px;
}

.fb-field input,
.fb-field textarea,
.fb-field select {
	width: 100%;
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid var(--fb-rule);
	border-radius: 10px;
	font: inherit;
	font-size: 15px;
	color: var(--fb-ink);
	background: var(--fb-paper);
	transition: border-color .12s, box-shadow .12s;
}

.fb-field textarea { min-height: 130px; resize: vertical; }

.fb-field input:focus,
.fb-field textarea:focus,
.fb-field select:focus {
	outline: none;
	border-color: var(--fb-blue);
	box-shadow: 0 0 0 3px var(--fb-blue-soft);
}

.fb-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.fb-field-row > * { min-width: 0; }

.fb-alert {
	border-radius: 10px;
	padding: 13px 16px;
	margin-bottom: 20px;
	font-size: 14.5px;
	border: 1px solid transparent;
}

.fb-alert-ok {
	background: #e7f5ee;
	border-color: #bfe3d1;
	color: #14603f;
}

.fb-alert-err {
	background: #fdecec;
	border-color: #f6cfcf;
	color: #96251f;
}

/* Help -------------------------------------------------------------- */

.fb-help-grid {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 44px;
	align-items: start;
}

.fb-toc {
	position: sticky;
	top: 90px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--fb-rule);
}

.fb-toc li { margin: 0; }

.fb-toc a {
	display: block;
	padding: 7px 0 7px 16px;
	margin-left: -2px;
	border-left: 2px solid transparent;
	color: var(--fb-body);
	text-decoration: none;
	font-size: 14.5px;
}

.fb-toc a:hover {
	color: var(--fb-ink);
	border-left-color: var(--fb-blue);
}

.fb-doc h2 { margin-top: 44px; }
.fb-doc h2:first-child { margin-top: 0; }
.fb-doc p { font-size: 15.5px; }

.fb-faq {
	border: 1px solid var(--fb-rule);
	border-radius: 12px;
	margin-bottom: 10px;
	background: var(--fb-paper);
	overflow: hidden;
}

.fb-faq > summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 600;
	color: var(--fb-ink);
	font-size: 15.5px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
}

.fb-faq > summary::-webkit-details-marker { display: none; }

.fb-faq > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-right: 1.8px solid var(--fb-blue);
	border-bottom: 1.8px solid var(--fb-blue);
	transform: rotate( 45deg );
	transition: transform .15s;
}

.fb-faq[open] > summary::after { transform: rotate( -135deg ); }

.fb-faq-body {
	padding: 0 20px 18px;
	font-size: 15px;
}

.fb-note {
	background: var(--fb-blue-soft);
	border-radius: 12px;
	padding: 18px 20px;
	font-size: 14.5px;
	color: var(--fb-blue-dark);
}

/* Account ----------------------------------------------------------- */

.fb-login-card {
	max-width: 440px;
	margin: 0 auto;
	text-align: center;
	background: var(--fb-paper);
	border: 1px solid var(--fb-rule);
	border-radius: 16px;
	padding: 36px 30px;
}

.fb-meters {
	display: grid;
	gap: 18px;
}

.fb-meter-top {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 7px;
	color: var(--fb-ink);
}

.fb-meter {
	height: 9px;
	border-radius: 999px;
	background: var(--fb-stock);
	overflow: hidden;
}

.fb-bar {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--fb-blue);
}

.fb-meter-label {
	font-size: 13px;
	color: var(--fb-body);
	margin-top: 6px;
}

/* Bookshelf --------------------------------------------------------- */

.fb-shelf {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 170px, 1fr ) );
	gap: 22px;
}

.fb-shelf-item {
	text-decoration: none;
	color: var(--fb-ink);
	font-size: 14.5px;
	font-weight: 500;
	display: block;
}

.fb-shelf-cover {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--fb-rule);
	background: var(--fb-stock);
	margin-bottom: 10px;
	box-shadow: 0 10px 22px -14px rgba( 19, 23, 53, .6 );
	transition: transform .15s, box-shadow .15s;
}

.fb-shelf-item:hover .fb-shelf-cover {
	transform: translateY( -3px );
	box-shadow: 0 16px 30px -16px rgba( 19, 23, 53, .7 );
}

/* Footer ------------------------------------------------------------ */

.fb-footer {
	background: var(--fb-navy);
	color: rgba( 255, 255, 255, .68 );
	padding: 56px 0 28px;
	font-size: 14.5px;
}

.fb-footer a {
	color: rgba( 255, 255, 255, .82 );
	text-decoration: none;
	display: block;
	padding: 4px 0;
}

.fb-footer a:hover { color: #fff; }

.fb-footer h4 {
	color: #fff;
	font-size: 13.5px;
	margin-bottom: 10px;
}

.fb-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 36px;
}

.fb-footer-brand .fb-logo {
	color: #fff;
	margin-bottom: 12px;
}

.fb-footer-brand p {
	max-width: 34ch;
	font-size: 14px;
}

.fb-footer-bottom {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba( 255, 255, 255, .12 );
	font-size: 13.5px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

/* The app shell (dashboard) is full bleed. */
.fb-appshell { width: 100%; }

/* Responsive -------------------------------------------------------- */

@media ( max-width: 1000px ) {
	.fb-hero-in { grid-template-columns: 1fr; gap: 44px; }
	.fb-hero h1 { max-width: 18ch; }
	.fb-book { max-width: 560px; }
	.fb-grid-3 { grid-template-columns: repeat( 2, 1fr ); }
	.fb-steps { row-gap: 30px; }
	/* The thread only reads along a single row, so it goes once they wrap. */
	.fb-step::after { display: none; }
	.fb-split { grid-template-columns: 1fr; gap: 28px; }
	.fb-section-head { grid-template-columns: 1fr; gap: 6px; align-items: start; }
	.fb-section-head > h2 { max-width: 22ch; }
	.fb-section-head > p { grid-column: 1; grid-row: auto; margin-top: 6px; }
	.fb-help-grid { grid-template-columns: 1fr; gap: 26px; }
	.fb-toc { position: static; }
	.fb-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.fb-stats { grid-template-columns: repeat( 2, 1fr ); gap: 26px; }
}

@media ( max-width: 760px ) {
	.fb-nav {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px 24px 18px;
		border-bottom: 1px solid var(--fb-rule);
	}

	.fb-nav.is-open { display: flex; }
	.fb-nav a { padding: 11px 0; }
	.fb-nav a.fb-nav-cta { text-align: center; margin-top: 8px; }
	.fb-burger { display: block; }

	.fb-section { padding: 52px 0; }
	.fb-hero { padding: 54px 0 62px; }
	.fb-grid-3 { grid-template-columns: 1fr; }
	.fb-steps { grid-template-columns: 1fr; }
	.fb-step::after { display: none; }
	.fb-field-row { grid-template-columns: 1fr; }
	.fb-book-chip { display: none; }
	.fb-stats { grid-template-columns: 1fr 1fr; }
}

@media ( prefers-reduced-motion: reduce ) {
	.fbsite * {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}

/* ==================================================================== */
/* Surfaces and type scale                                               */
/* ==================================================================== */

/*
 * Every band now carries a tint, and only cards, panels and the header are
 * pure white. A white card on a white page has no edge, which is what made
 * the pages read as flat however the cards themselves were styled.
 */
.fb-section { background: var(--fb-page); }
.fb-section-alt { background: var(--fb-stock); }

.fb-header { background: rgba( 255, 255, 255, .94 ); }

.fb-card,
.fb-panel:not(.fb-panel-dark),
.fb-table-wrap,
.fb-faq,
.fb-login-card {
	background: var(--fb-paper);
	box-shadow: 0 1px 2px rgba( 19, 23, 53, .04 );
}

/* The dark panel keeps its own ground; it carries white text. */
.fb-panel-dark {
	background: linear-gradient( 150deg, var(--fb-navy), var(--fb-navy-2) );
	box-shadow: none;
}

/*
 * Type scale. Headings carry weight through size and the serif, not through
 * bolding; the interface voice stays at 500 and 600 so nothing shouts.
 */
.fbsite h1 { font-weight: 300; letter-spacing: -0.025em; }
.fbsite h2 { font-weight: 400; letter-spacing: -0.02em; }

.fbsite h3 {
	font-family: var(--fb-sans);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.005em;
}

.fb-hero h1 { font-weight: 300; }

.fb-hero-lede {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.58;
}

.fb-section-head > p { font-size: 17px; line-height: 1.58; }

.fb-eyebrow,
.fb-kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
}

.fb-ticks li { font-size: 15.5px; }

.fb-btn { font-weight: 600; letter-spacing: -0.003em; }

.fb-nav a { font-weight: 500; font-size: 15px; }

.fb-stat strong { font-size: 38px; font-weight: 400; }
.fb-stat span { font-size: 14.5px; font-weight: 500; color: var(--fb-ink); }

.fb-step h3 { font-size: 16.5px; }
.fb-step p { font-size: 15px; line-height: 1.58; }

.fb-footer { font-size: 15px; }
.fb-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* Plans ------------------------------------------------------------- */

.fb-plans {
	display: grid;
	grid-template-columns: repeat( 5, 1fr );
	gap: 16px;
	align-items: start;
}

.fb-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 24px 20px 22px;
	background: var(--fb-paper);
	border: 1px solid var(--fb-rule);
	border-radius: 14px;
}

/* One tier is marked, and it is marked by weight rather than by colour
   alone, so it still reads as the pick in print or without colour. */
.fb-plan.is-pick {
	border-color: var(--fb-blue);
	box-shadow: 0 0 0 1px var(--fb-blue), 0 14px 30px -18px rgba( 61, 75, 232, .5 );
}

.fb-plan-flag {
	position: absolute;
	top: -11px;
	left: 20px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	background: var(--fb-blue);
	border-radius: 999px;
}

.fb-plan h3 {
	margin: 0;
	font-family: var(--fb-sans);
	font-size: 16px;
	font-weight: 600;
	color: var(--fb-ink);
}

.fb-plan-specs {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--fb-rule);
	border-bottom: 1px solid var(--fb-rule);
}

.fb-plan-specs > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.fb-plan-specs dt {
	font-size: 12.5px;
	color: var(--fb-body);
}

.fb-plan-specs dd {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--fb-ink);
	text-align: right;
}

.fb-plan-has {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fb-plan-has li {
	position: relative;
	padding-left: 20px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--fb-body);
}

.fb-plan-has li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
}

.fb-plan-has li.yes::before {
	content: "\2713";
	color: var(--fb-blue);
}

/* Not a failure, just absent on this tier, so it is muted rather than red.
   Muted still has to be readable: the dash carries the distinction, the
   colour only softens it. */
.fb-plan-has li.no {
	color: #575e7a;
}

.fb-plan-has li.no::before {
	content: "\2013";
	color: #b8bfd3;
}

/* Add-ons ------------------------------------------------------------
   Bought on top of a plan, so they read as a strip under the comparison
   rather than as more columns in it. Four is the most there are, and they
   carry a sentence each instead of a row of allowances. */

.fb-addons {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid #e1e5f0;
}

.fb-addons-head {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 650;
	color: #131735;
}

.fb-addon-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 16px;
	align-items: start;
}

.fb-addon {
	min-width: 0;
	padding: 18px;
	border: 1px solid #e1e5f0;
	border-radius: 14px;
	background: #fff;
}

.fb-addon h4 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 650;
	color: #131735;
}

.fb-addon p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #454c68;
}

@media ( max-width: 1040px ) {
	.fb-plans { grid-template-columns: repeat( 3, 1fr ); }
	.fb-addon-grid { grid-template-columns: repeat( 2, 1fr ); }
}

@media ( max-width: 760px ) {
	.fb-plans { grid-template-columns: 1fr; }
	.fb-proof { grid-template-columns: repeat( 2, 1fr ); }
	.fb-addon-grid { grid-template-columns: 1fr; }
}

/* Contact ------------------------------------------------------------
   One card, the ask on the left and what to have ready on the right.
   The page carries no form: a message typed here used to arrive as an
   email with no ticket number and no thread either side could refer to. */

.fb-contact-section {
	padding-top: 56px;
}

.fb-contact {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 0;
	background: var(--fb-paper);
	border: 1px solid var(--fb-rule);
	border-radius: 20px;
	overflow: hidden;
}

.fb-contact-main {
	padding: 44px 48px 40px;
}

/* The rule between the halves, which becomes a rule above the second
   half once they stack. */
.fb-contact-side {
	padding: 44px 44px 40px;
	border-left: 1px solid var(--fb-rule);
}

.fb-eyebrow-pill {
	padding: 7px 15px;
	border: 1px solid var(--fb-rule);
	border-radius: 999px;
	margin-bottom: 20px;
}

.fb-contact-title {
	margin: 0 0 18px;
	font-size: clamp( 2.1rem, 4.4vw, 3.1rem );
	line-height: 1.08;
	letter-spacing: -.02em;
}

.fb-contact-lead {
	margin: 0 0 28px;
	max-width: 52ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--fb-muted);
}

.fb-contact-note {
	margin: 14px 0 0;
	font-size: 13.5px;
	color: var(--fb-muted);
}

.fb-btn-arrow {
	margin-left: 8px;
	font-size: 15px;
}

.fb-contact-side h2 {
	margin: 0 0 18px;
	font-size: 19px;
}

.fb-contact-list {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.fb-contact-list li {
	position: relative;
	margin-bottom: 14px;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--fb-muted);
}

.fb-contact-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fb-blue);
}

@media ( max-width: 860px ) {
	.fb-contact {
		grid-template-columns: 1fr;
	}

	.fb-contact-main {
		padding: 34px 26px 30px;
	}

	.fb-contact-side {
		padding: 30px 26px 34px;
		border-left: 0;
		border-top: 1px solid var(--fb-rule);
	}
}

/* Sign in and sign up ----------------------------------------------- */

/* Two columns on a wide screen: the form, and the reason to fill it in.
   Someone who arrived from a sales page has already been sold to, so the
   right-hand column is a reminder rather than a pitch, and it is the column
   that goes when there is no room for both. */

.fb-auth-section { padding-top: 56px; }

.fb-auth-wrap {
	display: grid;
	grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.fb-auth-card { padding: 32px; }

.fb-auth-head { margin-bottom: 22px; }

/* A member's own logo over their sign-in form. Capped rather than sized, so
   a tall logo and a wide one both sit sensibly without being distorted. */
.fb-auth-logo {
	display: block;
	max-width: 180px;
	max-height: 56px;
	width: auto;
	height: auto;
	margin: 0 0 16px;
}

.fb-auth-title {
	font-family: var( --fb-serif, "FBS Spectral", Georgia, serif );
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 6px;
	color: var(--fb-ink);
}

.fb-auth-sub {
	margin: 0;
	color: var(--fb-body);
	font-size: 15px;
}

/* The two forms, as a segmented control rather than links: nothing is being
   navigated to, the same page simply shows the other form. */
.fb-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	margin-bottom: 22px;
	background: var(--fb-stock);
	border-radius: 12px;
}

.fb-auth-tab {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 9px 10px;
	border-radius: 9px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--fb-body);
	cursor: pointer;
	transition: background .12s, color .12s, box-shadow .12s;
}

.fb-auth-tab:hover { color: var(--fb-ink); }

.fb-auth-tab.is-on {
	background: var(--fb-paper);
	color: var(--fb-ink);
	box-shadow: 0 1px 2px rgba( 19, 23, 53, .1 ), 0 1px 1px rgba( 19, 23, 53, .06 );
}

.fb-auth-tab:focus-visible {
	outline: 2px solid var(--fb-blue);
	outline-offset: 1px;
}

.fb-auth-form { margin: 0; }

.fb-auth-error {
	margin: 0 0 18px;
	padding: 11px 13px;
	border-radius: 10px;
	background: #fdeceb;
	border: 1px solid #f5c6c3;
	color: #8a1d16;
	font-size: 14px;
	line-height: 1.45;
}

.fb-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: -4px 0 20px;
	flex-wrap: wrap;
}

.fb-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--fb-body);
	cursor: pointer;
}

.fb-check input { margin: 0; }

/* A link made out of a button, where the thing it does is switch form rather
   than go anywhere. Styled as a link because that is what it reads as. */
.fb-auth-link {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-size: 14px;
	color: var(--fb-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.fb-auth-link:hover { color: var(--fb-blue-dark); }

.fb-btn-block { width: 100%; justify-content: center; }

.fb-auth-foot {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--fb-body);
}

.fb-auth-closed { margin-top: 20px; }

.fb-field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--fb-body);
}

/* Off screen rather than display:none — a field that is not rendered at all
   is one a bot can see is not meant to be filled in. */
.fb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fb-auth-aside { padding-top: 10px; }

.fb-auth-aside h2 {
	font-size: 21px;
	margin: 0 0 16px;
	color: var(--fb-ink);
}

.fb-auth-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.fb-auth-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 13px;
	color: var(--fb-body);
	font-size: 15px;
	line-height: 1.5;
}

.fb-auth-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--fb-blue-soft);
	box-shadow: inset 0 0 0 2px var(--fb-blue);
}

.fb-auth-aside-foot {
	margin: 0;
	font-size: 14px;
	color: var(--fb-body);
}

.fb-auth-done { max-width: 520px; }

.fb-auth-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
}

@media ( max-width: 900px ) {
	.fb-auth-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.fb-auth-aside { order: 2; }
	.fb-auth-card { padding: 24px; }
	.fb-auth-title { font-size: 26px; }
}

/* Arrived from an upgrade link. */
.fb-auth-claim {
	margin: 0 0 18px;
	padding: 11px 13px;
	border-radius: 10px;
	background: var(--fb-blue-soft);
	border: 1px solid var(--fb-blue);
	color: var(--fb-navy);
	font-size: 14px;
	line-height: 1.45;
}

/* An upgrade link that worked. */
.fb-claimed {
	margin: 0 0 24px;
	padding: 14px 16px;
	border-radius: var( --fb-radius, 14px );
	background: #e7f6ef;
	border: 1px solid #1f7a52;
	color: #0d3b27;
	font-size: 15px;
	line-height: 1.5;
}

.fb-auth-claim-who {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	opacity: .85;
}

/* An upgrade link that did not apply. */
.fb-claim-failed {
	margin: 0 0 24px;
	padding: 14px 16px;
	border-radius: var( --fb-radius, 14px );
	background: #fdeceb;
	border: 1px solid #c0392b;
	color: #7a1a12;
	font-size: 15px;
	line-height: 1.5;
}

/* ==================================================================== */
/* Design system 1.21                                                     */
/*                                                                        */
/* The same editorial voice — Spectral for display, Inter for the rest — */
/* now actually loaded, with one set of radii, shadows and hover states  */
/* across the header, cards, plans, forms and the sign-in page.          */
/* ==================================================================== */

.fbsite {
	--fb-radius: 16px;
	--fb-shadow-xs: 0 1px 2px rgba( 16, 24, 40, .05 );
	--fb-shadow-sm: 0 1px 3px rgba( 16, 24, 40, .08 ), 0 1px 2px rgba( 16, 24, 40, .04 );
	--fb-shadow-md: 0 18px 40px -18px rgba( 19, 23, 53, .28 ), 0 4px 10px -4px rgba( 19, 23, 53, .08 );
	--fb-shadow-lg: 0 40px 80px -28px rgba( 19, 23, 53, .42 ), 0 10px 24px -10px rgba( 19, 23, 53, .14 );
	--fb-muted: #5d6480;
	text-rendering: optimizeLegibility;
}

.fbsite :focus-visible {
	outline: 3px solid color-mix( in srgb, var(--fb-blue) 45%, transparent );
	outline-offset: 2px;
}

/* Header ----------------------------------------------------------- */

.fb-header {
	background: rgba( 255, 255, 255, .82 );
	-webkit-backdrop-filter: saturate( 180% ) blur( 14px );
	backdrop-filter: saturate( 180% ) blur( 14px );
	border-bottom-color: rgba( 16, 24, 40, .07 );
}

.fb-header-in {
	height: 72px;
}

.fb-logo {
	font-size: 22px;
	letter-spacing: -.025em;
}

.fb-logo-mark {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: linear-gradient( 155deg, color-mix( in srgb, var(--fb-blue) 78%, #fff ) 0%, var(--fb-blue) 45%, var(--fb-blue-dark) 100% );
	box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .25 ), 0 4px 10px -4px color-mix( in srgb, var(--fb-blue) 70%, transparent );
}

.fb-nav {
	gap: 6px;
}

.fb-nav a {
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--fb-body);
	font-size: 15px;
	transition: background-color .15s ease, color .15s ease;
}

.fb-nav a:hover {
	background: rgba( 16, 24, 40, .05 );
	color: var(--fb-ink);
}

.fb-nav a.is-current {
	color: var(--fb-ink);
	font-weight: 600;
}

.fb-nav a.fb-nav-cta {
	margin-left: 8px;
	padding: 10px 20px;
	box-shadow: 0 1px 2px rgba( 16, 24, 40, .14 ), inset 0 1px 0 rgba( 255, 255, 255, .16 );
}

/* Buttons ---------------------------------------------------------- */

.fb-btn {
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.fbsite .fb-btn-primary {
	box-shadow: 0 1px 2px rgba( 16, 24, 40, .14 ), inset 0 1px 0 rgba( 255, 255, 255, .16 );
}

.fbsite .fb-btn-primary:hover,
.fbsite .fb-btn-light:hover {
	transform: translateY( -1px );
	box-shadow: 0 10px 24px -10px rgba( 19, 23, 53, .5 );
}

.fbsite .fb-btn-light {
	box-shadow: 0 1px 2px rgba( 0, 0, 0, .1 ), 0 8px 20px -10px rgba( 0, 0, 0, .45 );
}

.fbsite .fb-btn-outline {
	box-shadow: var(--fb-shadow-xs);
}

.fbsite .fb-btn-ghost {
	-webkit-backdrop-filter: blur( 6px );
	backdrop-filter: blur( 6px );
}

/* Hero ------------------------------------------------------------- */

.fb-hero {
	padding: 88px 0 92px;
}

.fb-hero h1 {
	letter-spacing: -.03em;
	line-height: 1.04;
}

.fb-hero-lede {
	color: rgba( 255, 255, 255, .84 );
}

.fb-proof {
	border-radius: 18px;
	background: rgba( 255, 255, 255, .12 );
	-webkit-backdrop-filter: blur( 8px );
	backdrop-filter: blur( 8px );
	box-shadow: 0 20px 40px -24px rgba( 0, 0, 0, .45 );
}

.fb-proof li {
	padding: 20px 22px;
	background: rgba( 255, 255, 255, .045 );
}

.fb-book-inner {
	border-radius: 6px 10px 10px 6px;
}

.fb-book-chip {
	border-radius: 14px;
}

/* Cards ------------------------------------------------------------ */

.fb-card {
	padding: 28px 26px 30px;
	border-color: rgba( 16, 24, 40, .08 );
	border-radius: 18px;
	box-shadow: var(--fb-shadow-xs);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fb-card:hover {
	border-color: rgba( 16, 24, 40, .12 );
	box-shadow: var(--fb-shadow-md);
	transform: translateY( -3px );
}

.fb-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient( 155deg, color-mix( in srgb, var(--fb-blue) 72%, #fff ) 0%, var(--fb-blue) 42%, var(--fb-blue-dark) 100% );
	box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .22 ), 0 6px 14px -6px color-mix( in srgb, var(--fb-blue) 75%, transparent );
}

.fbsite .fb-card h3 {
	letter-spacing: -.012em;
}

/* Steps ------------------------------------------------------------ */

.fb-step::before {
	width: 34px;
	height: 34px;
	background: var(--fb-paper);
	color: var(--fb-blue-dark);
	box-shadow: inset 0 0 0 1.5px var(--fb-blue), 0 0 0 5px color-mix( in srgb, var(--fb-blue) 12%, transparent );
}

.fb-step::after {
	top: 17px;
	left: 46px;
}

/* Panels, ticks and stats ------------------------------------------ */

.fb-panel {
	border-radius: 22px;
	padding: 32px;
	border-color: rgba( 16, 24, 40, .08 );
	box-shadow: var(--fb-shadow-sm);
}

.fb-panel-dark {
	box-shadow: var(--fb-shadow-lg);
}

/* A tick in a soft disc reads as a list of things you get. */
.fb-ticks li {
	padding-left: 32px;
}

.fb-ticks li::before {
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 50%;
	transform: none;
	background-color: color-mix( in srgb, var(--fb-blue) 13%, transparent );
	background-image: url( "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b624c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

.fb-panel-dark .fb-ticks li::before {
	background-color: rgba( 255, 255, 255, .14 );
	background-image: url( "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E" );
}

.fb-stat strong {
	letter-spacing: -.03em;
}

.fb-table-wrap {
	border-radius: 18px;
	border-color: rgba( 16, 24, 40, .08 );
	box-shadow: var(--fb-shadow-xs);
}

/* Plans ------------------------------------------------------------ */

.fb-plan {
	padding: 26px 22px 24px;
	border-color: rgba( 16, 24, 40, .08 );
	border-radius: 18px;
	box-shadow: var(--fb-shadow-xs);
	transition: box-shadow .2s ease, transform .2s ease;
}

.fb-plan:hover {
	box-shadow: var(--fb-shadow-md);
	transform: translateY( -3px );
}

.fb-plan.is-pick {
	background:
		linear-gradient( 180deg, color-mix( in srgb, var(--fb-blue) 7%, #fff ) 0%, #fff 46% );
	box-shadow: 0 0 0 1.5px var(--fb-blue), var(--fb-shadow-md);
}

.fb-plan-flag {
	top: -12px;
	padding: 4px 11px;
	box-shadow: 0 6px 14px -6px color-mix( in srgb, var(--fb-blue) 80%, transparent );
}

.fb-plan-has li.yes::before {
	content: "";
	top: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: color-mix( in srgb, var(--fb-blue) 14%, transparent );
	background-image: url( "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b624c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

.fb-addon {
	border-radius: 18px;
	border-color: rgba( 16, 24, 40, .08 );
	box-shadow: var(--fb-shadow-xs);
	transition: box-shadow .2s ease, transform .2s ease;
}

.fb-addon:hover {
	box-shadow: var(--fb-shadow-md);
	transform: translateY( -2px );
}

/* CTA -------------------------------------------------------------- */

.fb-cta {
	position: relative;
	overflow: hidden;
	padding: 76px 24px;
	border-radius: 28px;
	box-shadow: var(--fb-shadow-lg);
}

.fb-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient( rgba( 255, 255, 255, .045 ) 1px, transparent 1px );
	background-size: 100% 34px;
	pointer-events: none;
}

.fb-cta > * {
	position: relative;
}

/* Forms ------------------------------------------------------------ */

.fb-field > span {
	font-size: 13.5px;
	font-weight: 550;
}

.fb-field input,
.fb-field textarea,
.fb-field select {
	min-height: 46px;
	border-color: #d6dbe8;
	border-radius: 11px;
	box-shadow: var(--fb-shadow-xs);
}

.fb-field input:hover,
.fb-field textarea:hover,
.fb-field select:hover {
	border-color: #bdc3d6;
}

.fb-field input:focus,
.fb-field textarea:focus,
.fb-field select:focus {
	box-shadow: 0 0 0 4px var(--fb-blue-soft);
}

.fb-alert,
.fb-auth-error,
.fb-auth-claim {
	border-radius: 12px;
}

/* Sign in ---------------------------------------------------------- */

.fb-auth-section {
	background:
		radial-gradient( 900px 420px at 18% -10%, color-mix( in srgb, var(--fb-blue) 9%, transparent ), transparent 70% ),
		var(--fb-page);
}

.fb-auth-card,
.fb-login-card {
	border-color: rgba( 16, 24, 40, .08 );
	border-radius: 22px;
	box-shadow: var(--fb-shadow-md);
}

.fb-auth-card {
	padding: 36px;
}

.fb-auth-title {
	font-size: 34px;
	font-weight: 400;
	letter-spacing: -.025em;
}

.fb-auth-tabs {
	padding: 5px;
	border-radius: 13px;
	background: color-mix( in srgb, var(--fb-blue) 6%, #f2f3f8 );
}

.fb-auth-tab {
	padding: 10px;
	border-radius: 9px;
}

.fb-auth-list li::before {
	top: 3px;
	width: 20px;
	height: 20px;
	box-shadow: none;
	background-color: color-mix( in srgb, var(--fb-blue) 13%, transparent );
	background-image: url( "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b624c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

.fb-auth-aside {
	padding: 28px 30px;
	border: 1px solid rgba( 16, 24, 40, .06 );
	border-radius: 22px;
	background: rgba( 255, 255, 255, .6 );
}

.fb-auth-aside h2 {
	font-size: 24px;
	letter-spacing: -.02em;
}

.fb-check input {
	width: 16px;
	height: 16px;
	accent-color: var(--fb-blue);
}

/* Help ------------------------------------------------------------- */

.fb-toc a {
	border-radius: 0 8px 8px 0;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.fb-toc a:hover {
	background: color-mix( in srgb, var(--fb-blue) 6%, transparent );
}

.fb-faq {
	border-color: rgba( 16, 24, 40, .08 );
	border-radius: 14px;
	box-shadow: var(--fb-shadow-xs);
	transition: box-shadow .15s ease;
}

.fb-faq:hover,
.fb-faq[open] {
	box-shadow: var(--fb-shadow-sm);
}

.fb-faq > summary {
	padding: 18px 22px;
}

.fb-faq-body {
	padding: 0 22px 20px;
}

.fb-note {
	border-radius: 14px;
	border: 1px solid color-mix( in srgb, var(--fb-blue) 18%, transparent );
}

.fb-doc code {
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--fb-stock);
	font-size: .9em;
}

/* Account ---------------------------------------------------------- */

.fb-meter {
	height: 8px;
	background: color-mix( in srgb, var(--fb-blue) 9%, #eff1f7 );
}

.fb-bar {
	background: linear-gradient( 90deg, var(--fb-blue), var(--fb-blue-dark) );
}

/* Contact ---------------------------------------------------------- */

.fb-contact {
	border-color: rgba( 16, 24, 40, .08 );
	border-radius: 24px;
	box-shadow: var(--fb-shadow-md);
}

/* Bookshelf -------------------------------------------------------- */

.fb-shelf-cover {
	border-radius: 10px;
}

/* Footer ----------------------------------------------------------- */

.fb-footer a {
	transition: color .15s ease;
}

@media ( max-width: 760px ) {
	.fb-nav a {
		border-radius: 10px;
		padding: 12px 10px;
	}

	.fb-nav a.fb-nav-cta {
		margin-left: 0;
	}

	.fb-hero {
		padding: 56px 0 64px;
	}

	.fb-cta {
		padding: 52px 20px;
		border-radius: 20px;
	}

	.fb-auth-card {
		padding: 26px 22px;
	}

	.fb-auth-aside {
		padding: 22px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.fb-card:hover,
	.fb-plan:hover,
	.fb-addon:hover,
	.fbsite .fb-btn-primary:hover,
	.fbsite .fb-btn-light:hover {
		transform: none;
	}
}


/* The member's own row in the plan table, in the brand tint. */
.fb-table tr.fb-row-mine td {
	background: color-mix( in srgb, var(--fb-blue) 7%, #fff );
}

.fb-mine-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 9px;
	border-radius: 999px;
	background: color-mix( in srgb, var(--fb-blue) 14%, #fff );
	color: var(--fb-blue-dark);
	font-size: 12px;
	font-weight: 600;
	vertical-align: 1px;
}

/* Usage on the account page. Each .fb-meter is a whole card here — label,
   figures and bar — but the rules above treat .fb-meter as the 9px bar
   track, so the label and the figures were clipped away and the page showed
   four empty grey stripes. The card, the track and the fill are set out
   plainly below. */
.fb-meters {
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 16px;
	margin-bottom: 28px;
}

.fb-meters > .fb-meter {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: auto;
	padding: 20px 20px 22px;
	overflow: visible;
	border: 1px solid rgba( 16, 24, 40, .08 );
	border-radius: 18px;
	background: var(--fb-paper);
	box-shadow: var(--fb-shadow-xs);
}

.fb-meters .fb-meter-label {
	order: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 550;
	color: var(--fb-muted);
}

.fb-meters .fb-meter-top {
	justify-content: flex-start;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 6px;
	color: var(--fb-body);
	font-size: 14px;
}

.fb-meters .fb-meter-top b {
	font-family: var(--fb-sans);
	font-size: 28px;
	font-weight: 650;
	letter-spacing: -.03em;
	line-height: 1.1;
	color: var(--fb-ink);
	font-variant-numeric: tabular-nums;
}

.fb-meters .fb-bar {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: color-mix( in srgb, var(--fb-blue) 9%, #eff1f7 );
	overflow: hidden;
}

.fb-meters .fb-bar > i {
	display: block;
	height: 100%;
	min-width: 6px;
	border-radius: 999px;
	background: linear-gradient( 90deg, var(--fb-blue), var(--fb-blue-dark) );
}

.fb-meters .fb-bar > i.is-full {
	background: #f79009;
}

.fb-meters .fb-bar > i.is-cap {
	background: color-mix( in srgb, var(--fb-blue) 22%, #fff );
}

@media ( max-width: 1000px ) {
	.fb-meters { grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); }
}

@media ( max-width: 520px ) {
	.fb-meters { grid-template-columns: minmax( 0, 1fr ); }
}

.fbs-ed-rail details:nth-child(6){
    display: none !important;
}
.fbs-ed-rail details:nth-child(5){
    display: none !important;
}
.fbs-help-link{
    display: none !important;
}
/* 1.27.0: on a member's branded page the site-owner panel is left out. */
.fb-split.is-single {
	grid-template-columns: minmax( 0, 1fr );
	max-width: 760px;
	margin: 0 auto;
}
