:root {
  --c-accent: #FFD601;
  --c-accent-dark: #d9b800;
  --c-black: #0a0a0a;
  --c-dark: #141414;
  --c-dark2: #1c1c1c;
  --c-mid: #1a1a1a;
  --c-light: #f6f6f4;
  --c-white: #fff;
  --c-accent-glow: rgba(255,214,1,0.18);
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --text-xs: 11px;
  --text-sm: 13.5px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 22px;
  --text-xl: clamp(28px, 3.5vw, 44px);
  --text-2xl: clamp(34px, 4.5vw, 56px);
  --text-hero: clamp(32px, 4.6vw, 58px);
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --section-pad: 100px;
  --container: 1200px;
  --page-pad: 40px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --border: rgba(0,0,0,0.07);
  --border-dark: rgba(255,255,255,0.08);
  --navbar-h: 76px;
  --navbar-bg: rgba(255,255,255,0.88);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--c-black);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

.s-inner {
  position: relative;
}

.p-view-row {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,214,1,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--c-accent-dark);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lfc-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 3000;
  max-width: 720px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  padding: 24px 26px;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.lfc-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lfc-cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--c-black);
  cursor: pointer;
  transition: background 200ms ease;
}

.lfc-cookie-close:hover {
  background: rgba(0,0,0,0.1);
}

.lfc-cookie-inner {
  position: relative;
}

.lfc-cookie-text h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-black);
  margin-bottom: 8px;
}

.lfc-cookie-text p {
  font-size: 12.5px;
  color: #333333;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 4px;
}

.lfc-cookie-text p a {
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lfc-cookie-categories {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lfc-cookie-cat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #333333;
  font-weight: 300;
  cursor: pointer;
}

.lfc-cookie-cat input {
  margin-top: 3px;
  accent-color: var(--c-accent);
  flex-shrink: 0;
}

.lfc-cookie-cat strong {
  color: var(--c-black);
  font-weight: 700;
}

.lfc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lfc-cookie-btn {
  font-size: 12.5px;
  padding: 11px 20px;
}

a:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

textarea:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

select:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

summary:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

details:focus-visible {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.lfc-intro {
  background: #FBFAF5;
  border: 1px solid #EFEDE3;
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 24px 26px;
  max-width: 860px;
}

.lfc-intro p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
  color: #111;
}

.lfc-intro p + p {
  margin-top: 14px;
}

.lfc-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
}

.lfc-step {
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.lfc-step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--c-accent-dark);
  margin-bottom: 12px;
}

.lfc-step h3 {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.lfc-step p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #111;
}

.lfc-search {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.lfc-search-input {
  flex: 1 1 240px;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 18px;
  border: 1px solid #E4E4E4;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: #111;
}

.lfc-search-input:focus {
  border-color: var(--c-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 214, 1, 0.25);
}

.lfc-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid #EAEAEA;
  border-radius: 22px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.lfc-featured-thumb {
  display: block;
  aspect-ratio: 12 / 7;
  overflow: hidden;
  background: #FBFAF5;
}

.lfc-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lfc-featured-body {
  padding: 30px 34px 34px;
}

.lfc-featured-body h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lfc-featured-body p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-mid);
  max-width: 720px;
}

.lfc-empty {
  border: 1px dashed #E0E0E0;
  border-radius: 18px;
  padding: 48px 26px;
  text-align: center;
  background: #FBFAF5;
}

.lfc-empty p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--c-mid);
  margin-bottom: 20px;
}

.lfc-author-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.lfc-author-role {
  font-size: 13.5px;
  color: var(--c-mid);
  margin-top: 6px;
}

.lfc-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--gap-sm);
}

.lfc-fieldset legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #111;
}

button.lfc-manage-cookies {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

button.lfc-manage-cookies:hover {
  color: var(--c-accent);
}

.lfc-steps-3 {
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

.lfc-chi-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 14px 0 16px;
}

.lfc-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 1, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.lfc-featured-cover {
  display: block;
  overflow: hidden;
  background: #FBFAF5;
}

.lfc-featured-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.lfc-featured-sec {
  padding-top: 10px;
}

.lfc-featured-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.18;
  margin: 12px 0 14px;
}

.lfc-featured-title a {
  color: var(--c-black);
  text-decoration: none;
}

.lfc-featured-cta {
  margin-top: 20px;
}

.lfc-empty-state {
  background: #FBFAF5;
  border: 1px dashed #E0DAC4;
  border-radius: 16px;
  padding: 26px 28px;
  max-width: 700px;
}

.lfc-cat-block {
  margin-top: 8px;
}

.lfc-cat-block + .lfc-cat-block {
  margin-top: 46px;
}

.lfc-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 16px;
}

.lfc-cat-head h3 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0;
}

.lfc-cat-head .lfc-cat-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-mid);
}

.lfc-cat-head a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lfc-cat-head a:hover {
  color: var(--c-accent-dark);
}

.lfc-serv-main {
  grid-column: 1 / -1;
  padding: 30px 32px;
  border-color: rgba(255, 214, 1, .9);
  box-shadow: 0 4px 18px rgba(255, 214, 1, .16);
}

.lfc-serv-main::before {
  height: 4px;
  opacity: 1;
}

.lfc-serv-main h3 {
  font-size: clamp(21px, 2.2vw, 27px);
}

.lfc-serv-main > p:last-of-type {
  font-size: 15px;
}

.lfc-serv-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c-black);
  background: var(--c-accent);
  border-radius: 99px;
  padding: 4px 11px;
  margin-bottom: 12px;
}

.lfc-tools {
  width: 100%;
  max-width: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 2.1;
  color: var(--c-black);
}

.lfc-tools span {
  color: var(--c-accent-dark);
  font-weight: 700;
}

.lfc-tools-carousel {
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.lfc-tools-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: certScroll 44s linear infinite;
}

.lfc-tools-carousel:hover .lfc-tools-track {
  animation-play-state: paused;
}

.lfc-tool-item {
  width: 188px;
  flex-shrink: 0;
  background: var(--c-white);
  border: 1px solid #ECECEC;
  border-radius: var(--radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.lfc-tool-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-black);
}

.lfc-tool-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-black);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
@keyframes heroGlowIn{
  from { opacity: 0; transform: translateX(-50%) scale(0.92); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}
@keyframes heroFade{ from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes certScroll{ from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp{ from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lfcPaneIn{ from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
