@charset "utf-8";
/* Faster Next Session: the FNF tips handbook. v2: A5 pages, light for reading, hot pink accents, dark cover. */
:root {
  --pink: #f10094;
  --soft: #ff79c2;
  --paper: #faf8f5;
  --card: #ffffff;
  --ink: #1b1a20;
  --body: #2c2b33;
  --mute: #66646e;
  --line: #e4dfd7;
  --dark: #0d0d11;
  --head: "Montserrat", "Segoe UI", sans-serif;
  --text: "Lato", "Segoe UI", sans-serif;
}
@page { size: 148mm 210mm; margin: 0; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body {
  font-family: var(--text); color: var(--ink); font-size: 10pt; line-height: 1.45;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 2.6mm; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--head); margin: 0; text-wrap: balance; }

/* ---------- pages ---------- */
.page {
  width: 148mm; height: 210mm; position: relative; overflow: hidden;
  background: var(--paper); padding: 11.5mm 11mm 0; break-after: page;
}
.page:last-child { break-after: auto; }
.flow { height: 182.5mm; display: flex; flex-direction: column; gap: 3.6mm; overflow: hidden; }
.foot {
  position: absolute; left: 11mm; right: 11mm; bottom: 6.5mm; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--head); font-size: 6.6pt; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); border-top: .25mm solid var(--line); padding-top: 2.2mm;
}
.foot .pn { color: var(--pink); font-weight: 700; letter-spacing: .06em; font-size: 7.4pt; }
.edge { position: absolute; top: 0; right: 0; width: 2.2mm; height: 100%; background: linear-gradient(var(--pink), rgba(241,0,148,0) 70%); }

/* ---------- cover (the one dark page) ---------- */
.cover { padding: 0; color: #f2f2f5; background: radial-gradient(120% 70% at 85% 105%, rgba(241,0,148,.5), transparent 60%),
  radial-gradient(90% 50% at 0% 0%, rgba(255,121,194,.14), transparent 60%), var(--dark); }
.cover .logo { position: absolute; top: 14mm; left: 12mm; width: 62mm; }
.cover .stripes { position: absolute; left: -10mm; right: -10mm; top: 92mm; height: 40mm; transform: skewY(-9deg); }
.cover .stripes i { display: block; height: 2.2mm; margin-bottom: 3mm; background: linear-gradient(90deg, transparent, var(--pink) 30%, transparent); opacity: .55; }
.cover .stripes i:nth-child(2) { width: 80%; opacity: .35; }
.cover .stripes i:nth-child(3) { width: 60%; opacity: .2; }
.cover .free { position: absolute; top: 46mm; left: 12mm; font-family: var(--head); font-weight: 800; font-size: 7.5pt;
  letter-spacing: .22em; color: var(--dark); background: var(--soft); padding: 1.6mm 3mm 1.4mm; border-radius: 1mm; }
.cover h1 { position: absolute; top: 56mm; left: 12mm; right: 12mm; font-weight: 900; font-size: 44pt; line-height: .92;
  letter-spacing: -.01em; text-transform: uppercase; }
.cover h1 em { font-style: normal; color: var(--pink); }
.cover .sub { position: absolute; top: 140mm; left: 12mm; right: 30mm; font-family: var(--head); font-weight: 600;
  font-size: 12.5pt; line-height: 1.3; }
.cover .chips { position: absolute; left: 12mm; right: 12mm; top: 160mm; display: flex; flex-wrap: wrap; gap: 1.8mm; }
.cover .chips span { font-family: var(--head); font-weight: 600; font-size: 6.8pt; letter-spacing: .06em; text-transform: uppercase;
  border: .3mm solid rgba(255,121,194,.55); color: var(--soft); padding: 1.1mm 2.4mm; border-radius: 4mm; }
.cover .by { position: absolute; left: 12mm; bottom: 11mm; font-family: var(--head); font-size: 7.5pt; letter-spacing: .16em;
  text-transform: uppercase; color: #a9a9b6; }
.cover .by b { color: #f2f2f5; }

/* ---------- intro, contents, outro ---------- */
.kicker { font-family: var(--head); font-weight: 800; font-size: 7.5pt; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); margin-bottom: 2.5mm; }
.big { font-weight: 900; font-size: 25pt; line-height: 1; text-transform: uppercase; margin-bottom: 7mm; }
.big em { font-style: normal; color: var(--pink); }
.lede p { font-size: 11pt; line-height: 1.55; margin-bottom: 4mm; color: var(--body); }
.sign { font-family: var(--head); font-weight: 800; font-size: 13pt; color: var(--pink); margin-top: 6mm; }
.sign small { display: block; font-weight: 600; font-size: 7.5pt; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 1mm; }
.how { margin-top: 8mm; background: var(--card); border: .3mm solid var(--line); border-radius: 2.5mm; padding: 5mm 5.5mm;
  border-left: 1.2mm solid var(--pink); box-shadow: 0 .6mm 2mm rgba(27,26,32,.05); }
.how h3 { font-size: 9pt; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2.5mm; color: var(--pink); }
.how ol { margin: 0; padding-left: 5mm; font-size: 9.6pt; color: var(--body); }
.how li { margin-bottom: 1.6mm; }

.toc { list-style: none; padding: 0; margin: 0; }
.toc li { display: grid; grid-template-columns: 11mm 1fr auto; align-items: baseline; padding: 3.4mm 0; border-bottom: .25mm solid var(--line); }
.toc .n { font-family: var(--head); font-weight: 900; font-size: 13pt; color: var(--pink); }
.toc .t { font-family: var(--head); font-weight: 700; font-size: 11pt; }
.toc .t small { display: block; font-family: var(--text); font-weight: 400; font-size: 8pt; color: var(--mute); margin-top: .8mm; }
.toc .p { font-family: var(--head); font-weight: 700; font-size: 10pt; color: var(--pink); }

/* ---------- chapter header ---------- */
.chap { position: relative; padding: 1mm 0 0; }
.chap .no { font-family: var(--head); font-weight: 900; font-size: 50pt; line-height: .8; color: transparent;
  -webkit-text-stroke: .4mm var(--pink); position: absolute; right: 0; top: 0; }
.chap .kicker { margin-bottom: 1.6mm; }
.chap h2 { font-weight: 900; font-size: 21pt; line-height: 1.02; text-transform: uppercase; max-width: 92mm; margin-bottom: 3mm; }
.chap p { color: var(--mute); font-size: 9.6pt; max-width: 100mm; margin: 0; }
.chap::after { content: ""; display: block; height: .9mm; width: 22mm; background: var(--pink); margin-top: 3.6mm; }

/* ---------- tip card ---------- */
.tip { background: var(--card); border: .3mm solid var(--line); border-left: 1mm solid var(--pink); border-radius: 2.6mm;
  padding: 3.5mm 4mm 3.6mm 4.4mm; position: relative; box-shadow: 0 .6mm 2mm rgba(27,26,32,.05);
  display: grid; grid-template-columns: 1fr 18mm; column-gap: 3.6mm;
  grid-template-areas: "head head" "text src" "fig fig" "try try"; break-inside: avoid; }
.tip .head { grid-area: head; display: flex; align-items: baseline; gap: 2.6mm; margin-bottom: 1.7mm; }
.tip .num { font-family: var(--head); font-weight: 900; font-size: 9pt; color: var(--pink); letter-spacing: .04em; flex: none; }
.tip h3 { font-weight: 800; font-size: 11.6pt; line-height: 1.12; color: var(--ink); }
.tip .main { grid-area: text; }
.tip .main p { margin: 0; font-size: 9.4pt; line-height: 1.41; color: var(--body); }
.tip .figure { grid-area: fig; margin-top: 2.6mm; }
.tip .figure svg { display: block; width: 100%; height: auto; max-height: 64mm; margin: 0 auto; border-radius: 2mm; overflow: hidden; }
.tip .try { grid-area: try; margin-top: 2.4mm; background: rgba(241,0,148,.06); border: .25mm solid rgba(241,0,148,.28); border-radius: 1.8mm;
  padding: 1.8mm 2.8mm; font-size: 8.9pt; line-height: 1.36; color: var(--body); }
.tip .try b { display: block; font-family: var(--head); font-weight: 800; font-size: 6.8pt; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: .6mm; }
.tip .src { grid-area: src; display: flex; flex-direction: column; align-items: center; align-self: end; text-align: center; }
.tip .src .qrbox { width: 17mm; height: 17mm; background: #fff; border: .25mm solid var(--line); border-radius: 1.4mm; }
.tip .src svg { width: 100%; height: 100%; display: block; }
.tip .src .lbl { font-family: var(--head); font-weight: 800; font-size: 5.6pt; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-top: 1.4mm; line-height: 1.2; }
.tip .src .url { font-size: 5pt; color: var(--mute); margin-top: .5mm; word-break: break-all; line-height: 1.2; }
.tip .src .nw { white-space: nowrap; }

/* ---------- offers ---------- */
.offer { border-radius: 2.6mm; padding: 4.6mm 5mm; background: linear-gradient(135deg, rgba(241,0,148,.10), rgba(241,0,148,.03));
  border: .35mm solid var(--pink); break-inside: avoid; }
.offer .kicker { margin-bottom: 1.6mm; }
.offer p { font-size: 9.8pt; margin: 0 0 2mm; color: var(--body); }
.offer .go { font-family: var(--head); font-weight: 800; font-size: 9pt; color: var(--pink); }
.offer.slim { padding: 3.4mm 4.4mm; }
.offer.slim p { margin: 0; font-size: 9.6pt; }
.offer.slim .go { white-space: nowrap; }

.outro .logo { width: 58mm; margin-top: 10mm; }

/* ---------- pull quote ---------- */
.quote { margin: auto 0 0; padding: 6mm 4mm 2mm 4mm; position: relative; }
.quote::before { content: "\201C"; position: absolute; left: 0; top: -6mm; font-family: var(--head); font-weight: 900; font-size: 54pt; color: var(--pink); line-height: 1; }
.quote blockquote { margin: 0 0 3mm; font-family: var(--head); font-weight: 800; font-size: 17pt; line-height: 1.15; text-wrap: balance; color: var(--ink); }
.quote figcaption { font-family: var(--head); font-weight: 600; font-size: 7pt; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }

.tip.fill { flex: 1 1 auto; grid-template-rows: auto auto 1fr auto; }
.tip.fill .figure { background: #f1eee9; border-radius: 2mm; display: flex; align-items: center; justify-content: center; }
.tip.fill .figure { overflow: hidden; }
.tip.fill .figure svg { max-height: none; overflow: visible; border-radius: 0; }

@media screen { body { width: 148mm; } }
#src, #quotes { display: none; }
