/* almaniac.app/fanfic/: the landing page for fanfic readers. Fanfic = the book green in Alma; the warm orange stays
   the one brand accent (buttons). Flat tints, no rainbow, no glow behind words. */
.ffl { --g: var(--green); --g-ink: #2f4a17; --warm: #e8590c; }
.ffl h1, .ffl h2, .ffl h3 { font-family: var(--font); }
.ffl-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.ffl h1, .ffl h2 { text-wrap: balance; }
.ffl-head h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; font-weight: 800; font-stretch: 78%; letter-spacing: -.02em; }
.ffl-head p { margin-top: 16px; font-size: 18px; line-height: 1.6; }
.ffl section { padding: clamp(72px, 9vw, 128px) 0; }

/* hero */
.ffl-hero { position: relative; overflow: hidden; padding-top: clamp(120px, 12vw, 168px) !important;
  background: radial-gradient(60% 70% at 85% 30%, rgb(158 206 106 / .10), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgb(232 89 12 / .07), transparent 70%), var(--ink); }
.ffl-hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 80px); align-items: center; max-width: 1440px; }
.ffl-hero .kicker { color: var(--g); }
.ffl-hero h1 { color: #fff; font-size: clamp(44px, 6vw, 86px); line-height: .98; font-weight: 800; font-stretch: 76%; letter-spacing: -.025em; }
.ffl-hero h1 span { color: var(--g); }
.ffl-lede { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--light-2); }
.ffl-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.ffl-go { display: inline-flex; align-items: center; gap: 14px; padding: 9px 9px 9px 26px; border-radius: 999px; background: #fff; color: var(--paper-text); font-weight: 800; font-size: 18px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.ffl-go i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: #fdebdc; transition: background .25s; }
.ffl-go svg { width: 20px; height: 20px; fill: none; stroke: var(--warm); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s, stroke .25s; }
.ffl-go:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgb(232 89 12 / .16), 0 18px 40px -14px rgb(232 89 12 / .55); }
.ffl-go:hover i { background: var(--warm); } .ffl-go:hover svg { stroke: #fff; transform: translateX(3px); }
.ffl-how { color: var(--light-2); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgb(255 255 255 / .25); padding-bottom: 2px; }
.ffl-how:hover { color: #fff; border-color: #fff; }
.ffl-fine { margin-top: 22px; font-size: 14.5px; color: var(--light-3); }

/* hero scene: our own illustration (reader.svg), the app's notification floating in the night sky */
.ffl-scene { position: relative; margin: -40px -3vw -60px 0; justify-self: center; width: min(820px, 106%); }
.ffl-scene img { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 58%, transparent 100%); }
.ffl-scene .ffl-push { top: 30%; left: -4%; right: auto; width: min(320px, 60%); }
.ffl-scene.go .ffl-push { animation: ffl-drop .8s cubic-bezier(.2, .9, .3, 1.15) 1.4s both; }
.ffl-feats .ffl-demo { max-width: 860px; margin: 0 auto 26px; }
.ffl-feats .ffl-demo figcaption { text-align: center; }

/* the shelf demo: a small, honest copy of the app's fanfic shelf */
.ffl-demo { position: relative; margin: 0; }
.ffw { border-radius: 18px; background: #1a1b26; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .06); overflow: hidden; }
.ffw-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #16161e; }
.ffw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b2e42; }
.ffw-bar span { margin-left: 10px; font-weight: 800; font-stretch: 78%; font-size: 17px; color: #c0caf5; }
.ffw-body { padding: 18px 18px 20px; display: grid; gap: 14px; }
.ffw-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ffw-tabs b { font-size: 12.5px; font-weight: 700; padding: 7px 11px; border-radius: 9px; background: #24283b80; color: #a9b1d6; }
.ffw-tabs b.on { background: #2f3549; color: #fff; }
.ffw-tabs b:first-child:not(.on), .ffw-tabs b.on:first-child { color: #c3e88d; }
.ffw-tabs em { font-style: normal; color: #565f89; margin-left: 4px; }
.ffw-glance { display: flex; gap: 28px; padding: 14px 16px; border-radius: 12px; background: #222736; }
.ffw-glance div { display: flex; flex-direction: column; }
.ffw-glance b { font-size: 30px; line-height: 1; font-weight: 800; font-stretch: 76%; color: #fff; font-variant-numeric: tabular-nums; }
.ffw-glance span { font-size: 12px; color: #6b73a0; margin-top: 4px; font-weight: 600; }
.ffw-fds { display: flex; flex-wrap: wrap; gap: 6px; }
.ffw-fds .m { display: none; }
.ffw-fds b { font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: #2a2e40; color: #a9b1d6; }
.ffw-fds em { font-style: normal; color: #565f89; margin-left: 3px; }
.ffw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ffw-c { display: flex; flex-direction: column; gap: 4px; padding: 13px 13px 11px; border-radius: 11px; background: #232838; min-width: 0; }
.ffw-c.new { box-shadow: inset 3px 0 0 var(--g); }
.ffw-c small { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--g); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ffw-c h3 { font-size: 15px; line-height: 1.15; font-weight: 800; font-stretch: 85%; color: #fff; }
.ffw-c p { font-size: 12px; color: #a9b1d6; }
.ffw-m { display: flex; gap: 8px; font-size: 11px; color: #6b73a0; font-weight: 600; margin-top: 2px; }
.ffw-m .ok { color: var(--g); }
.ffw-f { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.ffw-f em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--g); color: #1a1b26; }
.ffw-f svg { width: 15px; height: 15px; fill: rgb(158 206 106 / .25); stroke: var(--g); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ffw-bar2 { height: 3px; border-radius: 2px; background: #2f3549; margin-top: 8px; } .ffw-bar2 i { display: block; height: 100%; border-radius: 2px; background: var(--g); }
.ffl-push { position: absolute; right: -18px; top: -26px; display: flex; gap: 11px; align-items: flex-start; width: min(330px, 80%); padding: 12px 14px; border-radius: 18px;
  background: rgb(250 250 252 / .96); color: #16171f; box-shadow: 0 24px 50px -18px rgb(0 0 0 / .6); font-size: 13px; line-height: 1.35; }
.ffl-push b { display: block; font-size: 12px; color: #5b5e72; font-weight: 700; }
.ffl-push span:not(.ffl-push-ic) { display: block; font-weight: 750; }
.ffl-push small { color: #5b5e72; }
.ffl-push time { margin-left: auto; font-size: 11px; color: #8d8fa3; }
.ffl-push-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #1b1c29 url('/assets/favicon.svg') center / 26px no-repeat; }
.ffl-demo figcaption { margin-top: 12px; font-size: 12.5px; color: var(--light-3); text-align: right; }

@keyframes ffl-drop { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }

/* the generated covers (same as in the app) */
.ffw-cv { --c1: oklch(var(--fl) .075 var(--fh)); --c2: oklch(calc(var(--fl) - 12%) .06 calc(var(--fh) + 25)); position: relative; overflow: hidden; display: flex; flex-direction: column;
  width: 64px; aspect-ratio: 2 / 3; margin-bottom: 8px; padding: 7px 6px 6px; border-radius: 4px 7px 7px 4px; background: linear-gradient(160deg, var(--c1), var(--c2)); color: #fff;
  box-shadow: inset 2px 0 0 rgb(0 0 0 / .18), 0 8px 16px -8px rgb(0 0 0 / .7); }
.ffw-cv::before { content: ""; position: absolute; inset: 0; opacity: .16; }
.ffw-cv.p0::before { background: repeating-linear-gradient(135deg, #fff 0 1.5px, transparent 1.5px 8px); }
.ffw-cv.p1::before { background: radial-gradient(circle, #fff 1px, transparent 1.4px) 0 0 / 7px 7px; }
.ffw-cv.p2::before { background: repeating-radial-gradient(circle at 100% 100%, transparent 0 6px, #fff 6px 7px); }
.ffw-cv > * { position: relative; }
.ffw-c .ffw-cv small { font-size: 5.5px; color: #fff; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }
.ffw-cv b { margin-top: 4px; font-size: 8.5px; line-height: 1.12; font-weight: 800; font-stretch: 82%; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ffw-cv i { margin-top: auto; font-style: normal; font-size: 6px; opacity: .85; border-top: 1px solid rgb(255 255 255 / .35); padding-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* steps */
.ffl-3 { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ffl-3 li { position: relative; padding: 26px 26px 28px; border-radius: 22px; background: #fff; box-shadow: 0 20px 44px -30px rgb(22 23 31 / .45); }
.ffl-3 { gap: 34px 28px; padding-top: 22px; }
.ffl-3 .n { position: absolute; z-index: 2; top: -22px; left: -18px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, #b9e58a, var(--g) 45%, #6f9f3e); color: var(--g-ink); font-size: 30px; font-weight: 800; font-stretch: 76%; line-height: 1;
  border: 4px solid var(--paper, #f4efe6); box-shadow: 0 12px 26px -10px rgb(47 74 23 / .55), inset 0 -3px 0 rgb(0 0 0 / .08); transform: rotate(-6deg); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
.ffl-3 li:nth-child(2) .n { transform: rotate(4deg); } .ffl-3 li:nth-child(3) .n { transform: rotate(-3deg); }
.ffl-3 li:hover .n { transform: rotate(0) scale(1.08); }
@media (max-width: 560px) { .ffl-3 .n { width: 52px; height: 52px; font-size: 25px; top: -18px; left: -10px; } }
.ffl-3 h3 { margin-top: 18px; font-size: 22px; font-weight: 800; font-stretch: 85%; }
.ffl-3 p { margin-top: 8px; font-size: 16px; line-height: 1.55; }
.ffl-3 b { color: var(--paper-text); }
.ffl-vis { height: 150px; margin: 34px 0 0; border-radius: 16px; background: var(--paper); display: grid; place-items: center; position: relative; overflow: hidden; }
.v1 .bm { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 999px; background: var(--green); color: #1a1b26; font-weight: 800; font-size: 15px; box-shadow: 0 10px 24px -10px rgb(47 74 23 / .6); }
.v1 .bm svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.v2 { align-content: center; justify-items: stretch; gap: 8px; padding: 0 28px; }
.v2 .row { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 10px; background: #fff; }
.v2 .row i { height: 7px; width: 55%; border-radius: 4px; background: #9b1c1c33; } .v2 .row i.s { width: 25%; background: #16171f1a; }
.v2 em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--paper-mute); text-align: center; }
.v3 { align-content: center; gap: 10px; }
.v3 .go { padding: 11px 22px; border-radius: 12px; background: #f17a22; color: #fff; font-weight: 800; }
.v3 .done { font-size: 13px; font-weight: 700; color: var(--g-ink); }

/* features */
.ffl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1240px; margin: 0 auto; }
.ffl-f { padding: 22px 24px 26px; border-radius: 22px; background: color-mix(in srgb, var(--g) 6%, #1d2030); }
.ffl-f h3 { margin-top: 20px; font-size: 24px; font-weight: 800; font-stretch: 85%; }
.ffl-f p { margin-top: 8px; font-size: 16.5px; line-height: 1.55; max-width: 470px; }
.ffl-art { height: 200px; border-radius: 16px; background: #16161e; display: grid; place-items: center; overflow: hidden; padding: 18px; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 440px; }
.cloud b { font-size: 14px; font-weight: 650; padding: 8px 14px; border-radius: 999px; background: #262a3c; color: #c0caf5; }
.cloud b:first-child { background: color-mix(in srgb, var(--g) 28%, #262a3c); color: #fff; }
.cloud em { font-style: normal; color: #6b73a0; margin-left: 5px; }
.lock { width: 100%; height: 100%; border-radius: 12px; background: linear-gradient(160deg, #2b2f45, #121320); display: grid; align-content: center; justify-items: center; gap: 14px; }
.lock .clock { font-size: 46px; font-weight: 300; color: #fff; font-stretch: 90%; line-height: 1; }
.lock .note { display: flex; gap: 10px; width: min(330px, 92%); padding: 11px 13px; border-radius: 16px; background: rgb(255 255 255 / .9); color: #16171f; font-size: 13px; line-height: 1.35; }
.lock .note b { display: block; } .lock .note small { color: #5b5e72; }
.nums { display: flex; gap: 34px; }
.nums div { display: flex; flex-direction: column; } .nums b { font-size: 48px; line-height: 1; font-weight: 800; font-stretch: 76%; color: #fff; }
.nums span { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--g); }
.canon { display: flex; gap: 16px; align-items: center; width: min(400px, 100%); padding: 14px; border-radius: 14px; background: #222736; }
.canon .cv { flex: none; width: 62px; height: 92px; border-radius: 7px; background: linear-gradient(160deg, #e0af68, #b4542a 70%, #4b1d1d); box-shadow: 0 10px 20px -8px #000; }
.canon small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b73a0; }
.canon b { display: block; font-size: 19px; color: #fff; font-stretch: 85%; }
.canon .lnk { display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 10px; background: color-mix(in srgb, var(--g) 16%, #262a3c); color: #c3e88d; font-size: 13px; font-weight: 700; }

/* promises */
.ffl-6 { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ffl-6 li { padding: 24px 24px 26px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -30px rgb(22 23 31 / .4); }
.ffl-6 i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8f3dc; }
.ffl-6 svg { width: 22px; height: 22px; fill: none; stroke: var(--g-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ffl-6 h3 { margin-top: 16px; font-size: 20px; font-weight: 800; font-stretch: 85%; }
.ffl-6 p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; }
.ffl-6 a { color: var(--paper-text); font-weight: 700; }

/* faq */
.ffl-qs { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.ffl-qs details { border: 0 !important; border-radius: 16px; background: #1d2030; overflow: hidden; }
.ffl-faq { padding-bottom: 30px !important; }
.ffl-end { padding-top: clamp(96px, 10vw, 140px) !important; }
.ffl-qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; color: #fff; font-size: 18.5px; font-weight: 750; font-stretch: 90%; }
.ffl-qs summary::-webkit-details-marker { display: none; }
.ffl-qs summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #262a3c; color: var(--g); font-size: 20px; font-weight: 600; transition: transform .25s; }
.ffl-qs details[open] summary::after { transform: rotate(45deg); }
.ffl-qs details p { padding: 0 22px 22px; font-size: 16.5px; line-height: 1.6; max-width: 720px; }
.ffl-qs b { color: #fff; }

/* end */
.ffl-end { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-bottom: clamp(70px, 8vw, 110px) !important;
  background: radial-gradient(38% 70% at 50% -8%, rgb(206 214 255 / .17), transparent 70%), radial-gradient(70% 90% at 50% 120%, rgb(122 162 247 / .12), transparent 70%), linear-gradient(#171a2c, #14151e);
  border-bottom: 1px solid rgb(169 177 214 / .16); }
/* moonlight: a crescent over the heading, a scatter of stars, a soft halo */
.ffl-end::before { content: ""; position: absolute; z-index: -1; left: 50%; top: clamp(46px, 5.5vw, 70px); width: 54px; height: 54px; margin-left: -27px; border-radius: 50%;
  box-shadow: 13px -6px 0 0 #eceaff; transform: translateX(-6px); filter: drop-shadow(0 0 18px rgb(220 225 255 / .55)); animation: ffl-moon 9s ease-in-out infinite; }
.ffl-end::after { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .8; animation: ffl-tw 5s ease-in-out infinite;
  background-image: radial-gradient(1.6px 1.6px at 12% 22%, #fff, transparent), radial-gradient(1.2px 1.2px at 24% 58%, #fff, transparent), radial-gradient(1.8px 1.8px at 33% 14%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 41% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 64% 18%, #fff, transparent), radial-gradient(1.2px 1.2px at 71% 62%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 82% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 90% 72%, #fff, transparent), radial-gradient(1.4px 1.4px at 6% 80%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 56% 84%, #fff, transparent), radial-gradient(1.1px 1.1px at 77% 8%, #fff, transparent), radial-gradient(1.1px 1.1px at 18% 44%, #fff, transparent); }
.ffl-end h2 { margin-top: clamp(40px, 5vw, 60px); text-shadow: 0 0 40px rgb(200 210 255 / .25); }
.ffl-end .ffl-go { box-shadow: 0 10px 40px -10px rgb(158 206 106 / .45); }
.ffl-end .ffl-legal { opacity: .6; }
@keyframes ffl-moon { 50% { filter: drop-shadow(0 0 26px rgb(220 225 255 / .75)); } }
@keyframes ffl-tw { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .ffl-end::before, .ffl-end::after { animation: none; } }
.ffl-end h2 { color: #fff; font-size: clamp(38px, 5vw, 66px); font-weight: 800; font-stretch: 76%; letter-spacing: -.02em; line-height: 1; }
.ffl-end > .wrap > p:not(.ffl-legal) { margin: 14px 0 30px; font-size: 19px; }
.ffl-legal { max-width: 640px; margin: 40px auto 0; font-size: 13px; line-height: 1.55; color: var(--light-3); }

/* reveal on scroll (off under reduced motion) */
.ffl .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ffl .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ffl .rv { opacity: 1; transform: none; transition: none; } .ffl-scene.go .ffl-push { animation: none; } .ffl-go, .ffl-go svg { transition: none; } }

@media (max-width: 1000px) {
  .ffl-hero-in { grid-template-columns: 1fr; }
  .ffl-scene { max-width: 680px; width: 100%; margin: 0 auto -30px; }
  .ffl-3, .ffl-6 { grid-template-columns: 1fr; max-width: 560px; }
  .ffl-grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 560px) {
  .ffl-hero { padding-top: 104px !important; }
  .ffw-cards { grid-template-columns: 1fr 1fr; } .ffw-cards .ffw-c:nth-child(3) { display: none; }
  .ffw-glance { gap: 18px; } .ffw-glance b { font-size: 24px; }
  .ffl-scene .ffl-push { left: 22px; top: 2%; width: 70%; padding: 10px 12px; }
  .ffl-scene { margin: 10px -18px -20px; width: calc(100% + 36px); max-width: none; }
  .ffl-go { font-size: 17px; }
  .ffl-ctas { gap: 16px; }
  .nums { gap: 20px; } .nums b { font-size: 36px; }
  .ffl-qs summary { font-size: 17px; padding: 17px 18px; }
}

/* fandom hub: the canon in Alma + the fanfic on AO3 */
.ffl-fds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ffl-fd { position: relative; padding: 16px 16px 14px 18px; border-radius: 14px; background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .07); overflow: hidden; transition: background .2s, transform .2s; }
.ffl-fd:hover { background: rgb(255 255 255 / .075); transform: translateY(-2px); }
.ffl-fd { box-shadow: inset 3px 0 0 oklch(72% .13 var(--fh, 140)); }
.ffl-fd-x { grid-column: span 3; box-shadow: none; background: color-mix(in srgb, var(--g) 12%, transparent); border-color: color-mix(in srgb, var(--g) 30%, transparent); }
.ffl-fd-x p { display: block; color: var(--light-2, #a9b1d6); line-height: 1.5; }
.ffl-fd-x:hover { transform: none; }
.ffl-fd h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.2; }
.ffl-fd h3 a { color: #fff; text-decoration: none; }
.ffl-fd p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; }
.ffl-fd p a { color: var(--light-2, #a9b1d6); text-decoration: none; }
.ffl-fd p a:hover { color: #fff; text-decoration: underline; }
.ffl-fd p a.ext { color: var(--g); }
.ffl-more { margin: 22px auto 0; max-width: 640px; text-align: center; font-size: 14.5px; opacity: .75; }
/* archives + guides */
.ffl-arch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ffl-arch li { padding: 20px; border-radius: 16px; background: rgb(0 0 0 / .04); border: 1px solid rgb(0 0 0 / .07); }
.ffl-arch li.on { background: color-mix(in srgb, var(--g) 16%, transparent); border-color: color-mix(in srgb, var(--g) 45%, transparent); }
.ffl-arch b { display: block; font-size: 17px; }
.ffl-arch .st { display: inline-block; margin: 8px 0 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: rgb(0 0 0 / .07); }
.ffl-arch li.on .st { background: var(--g-ink); color: #fff; }
.ffl-arch p { margin: 0; font-size: 14px; line-height: 1.5; opacity: .8; }
.ffl-gh { margin-top: clamp(56px, 7vw, 96px); }
.ffl-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; max-width: 1080px; margin: 0 auto; }
.ffl-guides article { padding: 8px 0 18px; border-bottom: 1px solid rgb(0 0 0 / .08); }
.ffl-guides h3 { font-size: 19px; margin: 0 0 8px; }
.ffl-guides p { margin: 0; font-size: 15.5px; line-height: 1.62; opacity: .85; }
@media (max-width: 1100px) { .ffl-fds { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ffl-fd-x { grid-column: span 2; } }
@media (max-width: 1000px) { .ffl-arch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ffl-arch, .ffl-guides { grid-template-columns: 1fr; } .ffl-fds { grid-template-columns: 1fr 1fr; } .ffl-fd p { flex-direction: column; } .ffl-fd { padding: 14px 12px 12px 15px; } .ffl-fd h3 { font-size: 15.5px; } }
@media (max-width: 360px) { .ffl-fds { grid-template-columns: 1fr; } .ffl-fd-x { grid-column: auto; } }
