:root {
  --bg: oklch(98.2% 0.004 250);
  --surface: oklch(95.8% 0.008 235);
  --surface-2: oklch(93.2% 0.01 235);
  --fg: oklch(23% 0.014 255);
  --muted: oklch(48% 0.024 240);
  --border: oklch(87% 0.012 235);
  --border-strong: oklch(78% 0.016 235);
  --accent: oklch(46% 0.086 200);
  --accent-ink: oklch(97% 0.01 200);
  --accent-soft: oklch(93% 0.03 200);
  --ink: oklch(19% 0.03 255);
  --ink-fg: oklch(96% 0.008 235);
  --ink-muted: oklch(72% 0.02 235);
  --ok: oklch(52% 0.11 155);
  --err: oklch(52% 0.16 25);
  --err-soft: oklch(95% 0.03 25);

  --font-display: "Unbounded", "Golos Text", sans-serif;
  --font-body: "Manrope", "Golos Text", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  --container: 1240px;
  --sp-section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --shadow-soft: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 18px 40px -26px rgba(18, 28, 38, .38), 0 2px 10px -4px rgba(18, 28, 38, .14);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 28px 60px -28px rgba(18, 28, 38, .42), 0 6px 16px -6px rgba(18, 28, 38, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.ffg-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ffg-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--ink-fg);
  padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .18s var(--ease);
}
.ffg-skip:focus { top: 12px; }

.ffg-page { display: flex; flex-direction: column; min-height: 100vh; }

.ffg-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .ffg-container { padding-inline: 32px; } }
@media (min-width: 1024px) { .ffg-container { padding-inline: 48px; } }

.ffg-section { padding-block: var(--sp-section); }
.ffg-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.ffg-section--ink { background: var(--ink); color: var(--ink-fg); }
.ffg-section--surface { background: var(--surface); }

.ffg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.ffg-section--ink .ffg-eyebrow { color: oklch(78% 0.08 195); }
.ffg-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.ffg-h1 { font-size: clamp(36px, 5.4vw, 64px); }
.ffg-h2 { font-size: clamp(28px, 3.6vw, 42px); }
.ffg-h3 { font-size: clamp(20px, 2.2vw, 26px); }
.ffg-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.65; max-width: 62ch; }
.ffg-section--ink .ffg-lede { color: var(--ink-muted); }

.ffg-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: clamp(32px, 4vw, 56px);
}
.ffg-head__copy { max-width: 640px; }

.ffg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-full);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.ffg-btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.ffg-btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 28px -14px oklch(46% 0.086 200 / 0.55); }
.ffg-btn--primary:hover { background: oklch(41% 0.09 200); box-shadow: 0 16px 32px -14px oklch(41% 0.09 200 / 0.6); transform: translateY(-1px); }
.ffg-btn--primary:active { transform: translateY(0); }
.ffg-btn--ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--border-strong); }
.ffg-btn--ghost:hover { background: color-mix(in oklch, var(--fg) 6%, transparent); border-color: var(--fg); }
.ffg-section--ink .ffg-btn--ghost { color: var(--ink-fg); border-color: color-mix(in oklch, var(--ink-fg) 32%, transparent); }
.ffg-section--ink .ffg-btn--ghost:hover { background: color-mix(in oklch, var(--ink-fg) 12%, transparent); border-color: var(--ink-fg); }
.ffg-btn--text { padding: 0; min-height: auto; color: var(--accent); font-weight: 700; border-bottom: 1.5px solid color-mix(in oklch, var(--accent) 45%, transparent); border-radius: 2px; }
.ffg-btn--text:hover { border-color: var(--accent); }
.ffg-btn[disabled] { opacity: .55; cursor: not-allowed; }

.ffg-pane {
  position: relative;
  background: linear-gradient(155deg, color-mix(in oklch, var(--surface) 88%, white) 0%, var(--surface) 55%, color-mix(in oklch, var(--surface) 90%, var(--accent) 6%) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.ffg-pane::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%);
  opacity: .6;
}
.ffg-pane--dark {
  background: linear-gradient(160deg, oklch(24% 0.03 255) 0%, var(--ink) 60%, oklch(16% 0.025 255) 100%);
  border-color: color-mix(in oklch, var(--ink-fg) 14%, transparent);
  color: var(--ink-fg);
}
.ffg-pane--dark::before { background: linear-gradient(120deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 45%); }

.ffg-topbar { position: sticky; top: 0; z-index: 100; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.ffg-topbar__inner { max-width: var(--container); margin-inline: auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
@media (min-width: 640px) { .ffg-topbar__inner { padding-inline: 32px; } }
@media (min-width: 1024px) { .ffg-topbar__inner { padding-inline: 48px; } }

.ffg-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); border-radius: 8px; }
.ffg-logo__mark { color: var(--accent); display: inline-flex; }
.ffg-logo__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.ffg-logo__main { font-weight: 700; font-size: 17px; }
.ffg-logo__sub { font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ffg-logo--footer { color: var(--ink-fg); }
.ffg-logo--footer .ffg-logo__sub { color: var(--ink-muted); }

.ffg-nav { display: none; margin-inline: auto; }
.ffg-nav__list { display: flex; gap: 4px; }
.ffg-nav__link { display: inline-flex; padding: 10px 14px; border-radius: var(--r-full); font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .16s var(--ease), background-color .16s var(--ease); }
.ffg-nav__link:hover { color: var(--fg); background: color-mix(in oklch, var(--fg) 6%, transparent); }
.ffg-nav__link--active { color: var(--fg); background: var(--surface-2); }
@media (min-width: 960px) { .ffg-nav { display: block; } }

.ffg-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ffg-topbar__actions .ffg-btn--primary { display: none; }
@media (min-width: 640px) { .ffg-topbar__actions .ffg-btn--primary { display: inline-flex; } }

.ffg-burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); }
.ffg-burger:hover { background: color-mix(in oklch, var(--fg) 6%, transparent); }
.ffg-burger__box { position: relative; width: 20px; height: 14px; }
.ffg-burger__box span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease), top .2s var(--ease); }
.ffg-burger__box span:nth-child(1) { top: 0; }
.ffg-burger__box span:nth-child(2) { top: 6px; }
.ffg-burger__box span:nth-child(3) { top: 12px; }
.ffg-burger[aria-expanded="true"] .ffg-burger__box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.ffg-burger[aria-expanded="true"] .ffg-burger__box span:nth-child(2) { opacity: 0; }
.ffg-burger[aria-expanded="true"] .ffg-burger__box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (min-width: 960px) { .ffg-burger { display: none; } }

.ffg-mobile-nav { border-top: 1px solid var(--border); background: var(--bg); }
.ffg-mobile-nav__list { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 2px; }
.ffg-mobile-nav__link { display: block; padding: 13px 6px; font-weight: 600; border-bottom: 1px solid var(--border); }
.ffg-mobile-nav__link--active { color: var(--accent); }
.ffg-mobile-nav__cta { margin-top: 14px; width: 100%; }
@media (min-width: 960px) { .ffg-mobile-nav { display: none !important; } }

.ffg-main { flex: 1; }

.ffg-hero { position: relative; padding-block: clamp(48px, 8vw, 96px) var(--sp-section); overflow: clip; }
.ffg-hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .ffg-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.ffg-hero__title { margin-bottom: 22px; }
.ffg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ffg-hero__meta { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.ffg-hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.ffg-hero__meta-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.ffg-hero__meta-label { font-size: 13px; color: var(--muted); }

.ffg-glasswork { position: relative; min-height: clamp(320px, 42vw, 460px); margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); background: var(--surface); }
.ffg-glasswork::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, color-mix(in oklch, white 42%, transparent), transparent 44%); pointer-events: none; }
.ffg-glasswork__image { width: 100%; height: 100%; min-height: clamp(320px, 42vw, 460px); object-fit: cover; }
.ffg-glasswork__badge {
  position: absolute; right: 6%; bottom: 8%; z-index: 2;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--r-md);
  background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft); font-family: var(--font-mono);
}
.ffg-glasswork__badge b { font-family: var(--font-display); font-size: 18px; }
.ffg-glasswork__badge span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.ffg-cat-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ffg-cat-card { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ffg-cat-card:hover, .ffg-cat-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ffg-cat-card__icon { width: 52px; height: 52px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.ffg-cat-card__title { font-size: 19px; }
.ffg-cat-card__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ffg-cat-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); font-size: 14.5px; }
.ffg-cat-card__link svg { transition: transform .18s var(--ease); }
.ffg-cat-card:hover .ffg-cat-card__link svg { transform: translateX(3px); }

.ffg-steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: step; }
.ffg-step { padding: 26px 22px; position: relative; }
.ffg-step__num { font-family: var(--font-mono); color: var(--accent); font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; display: block; }
.ffg-step__title { font-size: 18px; margin-bottom: 8px; }
.ffg-step__text { color: var(--muted); font-size: 14px; line-height: 1.55; }

.ffg-adv-grid { display: grid; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ffg-adv-card { background: var(--bg); padding: 30px 26px; }
.ffg-adv-card__title { font-size: 17px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.ffg-adv-card__title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.ffg-adv-card__text { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.ffg-gallery { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 96px; }
.ffg-gallery__tile { grid-column: span 6; grid-row: span 3; margin: 0; border-radius: var(--r-md); position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.ffg-gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s var(--ease); }
.ffg-gallery__tile:hover img { transform: scale(1.025); }
.ffg-gallery__tile::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 48%, color-mix(in oklch, var(--ink) 44%, transparent)); pointer-events: none; }
.ffg-gallery__cap { position: absolute; z-index: 2; left: 18px; bottom: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--fg); background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
@media (min-width: 720px) {
  .ffg-gallery__tile--a { grid-column: span 4; grid-row: span 4; }
  .ffg-gallery__tile--b { grid-column: span 2; grid-row: span 4; }
  .ffg-gallery__tile--c { grid-column: span 3; grid-row: span 2; }
  .ffg-gallery__tile--d { grid-column: span 3; grid-row: span 2; }
}

.ffg-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.ffg-faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.ffg-faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16px; }
.ffg-faq-item__icon { flex: none; width: 22px; height: 22px; position: relative; }
.ffg-faq-item__icon::before, .ffg-faq-item__icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent); transition: transform .2s var(--ease); }
.ffg-faq-item__icon::before { width: 14px; height: 2px; }
.ffg-faq-item__icon::after { width: 2px; height: 14px; }
.ffg-faq-item[data-open="true"] .ffg-faq-item__icon::after { transform: scaleY(0); }
.ffg-faq-item__a { max-height: 0; overflow: hidden; transition: max-height .24s var(--ease); }
.ffg-faq-item__a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 68ch; }
.ffg-faq-item[data-open="true"] .ffg-faq-item__a { max-height: 320px; }

.ffg-cta-band { text-align: center; padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 64px); }
.ffg-cta-band__title { margin-bottom: 16px; }
.ffg-cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

.ffg-page-head { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.ffg-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.ffg-breadcrumb a:hover { color: var(--fg); }
.ffg-breadcrumb__sep { opacity: .5; }
.ffg-breadcrumb__current { color: var(--fg); font-weight: 600; }

.ffg-catalog { display: flex; flex-direction: column; gap: 20px; }
.ffg-product { display: grid; gap: 0; scroll-margin-top: 96px; }
@media (min-width: 860px) { .ffg-product { grid-template-columns: .95fr 1.05fr; } }
.ffg-product__visual { min-height: 220px; margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface); }
@media (min-width: 860px) { .ffg-product__visual { border-radius: var(--r-lg) 0 0 var(--r-lg); } }
.ffg-product__visual img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.ffg-product__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklch, var(--ink) 8%, transparent), transparent 42%); pointer-events: none; }
.ffg-product__tag { position: absolute; left: 20px; top: 20px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-full); background: color-mix(in oklch, var(--bg) 85%, transparent); border: 1px solid var(--border); }
.ffg-product__body { padding: 32px clamp(20px, 3vw, 40px); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--bg); }
@media (min-width: 860px) { .ffg-product__body { border-top: 1px solid var(--border); border-left: 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; } }
.ffg-product__title { font-size: 24px; margin-bottom: 12px; }
.ffg-product__summary { color: var(--muted); margin-bottom: 22px; max-width: 56ch; }
.ffg-product__specs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 22px; }
.ffg-product__spec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ffg-product__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ffg-chip { display: inline-flex; padding: 6px 12px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; }
.ffg-product__note { font-size: 13.5px; color: var(--muted); font-style: normal; }
.ffg-product__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ffg-scenarios { display: flex; flex-direction: column; gap: 22px; }
.ffg-scenario { display: grid; gap: 0; }
@media (min-width: 860px) { .ffg-scenario { grid-template-columns: 1fr 1fr; } .ffg-scenario--reverse .ffg-scenario__visual { order: 2; } }
.ffg-scenario__visual { min-height: 240px; margin: 0; position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--surface); }
@media (min-width: 860px) { .ffg-scenario__visual { border-radius: var(--r-lg) 0 0 var(--r-lg); } .ffg-scenario--reverse .ffg-scenario__visual { border-radius: 0 var(--r-lg) var(--r-lg) 0; } }
.ffg-scenario__visual img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.ffg-scenario__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, color-mix(in oklch, white 18%, transparent), transparent 46%); pointer-events: none; }
.ffg-scenario__body { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (min-width: 860px) { .ffg-scenario__body { border-top: 1px solid var(--border); border-left: 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; } .ffg-scenario--reverse .ffg-scenario__body { border-left: 1px solid var(--border); border-right: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); } }
.ffg-scenario__title { font-size: 22px; margin-bottom: 12px; }
.ffg-scenario__text { color: var(--muted); margin-bottom: 18px; max-width: 54ch; }
.ffg-scenario__points { display: flex; flex-direction: column; gap: 8px; }
.ffg-scenario__points li { position: relative; padding-left: 22px; font-size: 14.5px; }
.ffg-scenario__points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--accent); }

.ffg-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.ffg-filter { padding: 10px 18px; border-radius: var(--r-full); border: 1.5px solid var(--border-strong); font-weight: 600; font-size: 14px; color: var(--muted); transition: all .16s var(--ease); }
.ffg-filter:hover { color: var(--fg); border-color: var(--fg); }
.ffg-filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ffg-port-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ffg-port-card { overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ffg-port-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ffg-port-card__visual { height: 190px; margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.ffg-port-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s var(--ease); }
.ffg-port-card:hover .ffg-port-card__visual img { transform: scale(1.025); }
.ffg-port-card__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, color-mix(in oklch, white 22%, transparent), transparent 45%); pointer-events: none; }
.ffg-port-card__badge { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--r-full); background: color-mix(in oklch, var(--bg) 88%, transparent); border: 1px solid var(--border); }
.ffg-port-card__body { padding: 20px 22px 24px; }
.ffg-port-card__space { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.ffg-port-card__title { font-size: 17px; margin-bottom: 8px; }
.ffg-port-card__text { color: var(--muted); font-size: 14px; line-height: 1.55; }
.ffg-port-empty { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.ffg-port-empty.is-visible { display: block; }

.ffg-story { display: grid; gap: 40px; }
@media (min-width: 960px) { .ffg-story { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.ffg-role-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ffg-role-card { padding: 26px 22px; text-align: left; }
.ffg-role-card__avatar { width: 48px; height: 48px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.ffg-role-card__role { font-size: 16.5px; margin-bottom: 6px; }
.ffg-role-card__text { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.ffg-values { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.ffg-values li { padding-left: 24px; position: relative; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ffg-values li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1.5px; background: var(--accent); }
.ffg-values b { color: var(--fg); }

.ffg-contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .ffg-contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.ffg-info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.ffg-info-item { display: flex; gap: 14px; align-items: flex-start; }
.ffg-info-item__icon { flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.ffg-info-item__label { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.ffg-info-item__value { font-weight: 700; }
.ffg-info-note { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.ffg-form { padding: clamp(26px, 3vw, 40px); }
.ffg-field { margin-bottom: 20px; }
.ffg-field__label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.ffg-field__label .ffg-field__opt { font-weight: 500; color: var(--muted); }
.ffg-field__control {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--border-strong);
  background: var(--bg); transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.ffg-field__control:hover { border-color: var(--muted); }
.ffg-field__control:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: none; }
textarea.ffg-field__control { min-height: 120px; resize: vertical; }
.ffg-field__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.ffg-field__error { display: none; font-size: 12.5px; color: var(--err); margin-top: 6px; font-weight: 600; }
.ffg-field--invalid .ffg-field__control { border-color: var(--err); }
.ffg-field--invalid .ffg-field__error { display: block; }
.ffg-field--radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.ffg-radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-full); border: 1.5px solid var(--border-strong); font-size: 14px; font-weight: 600; cursor: pointer; }
.ffg-radio input { accent-color: var(--accent); width: 16px; height: 16px; }
.ffg-radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ffg-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.ffg-checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.ffg-checkbox a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ffg-form__summary { display: none; padding: 14px 18px; border-radius: var(--r-sm); background: var(--err-soft); color: var(--err); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.ffg-form__summary.is-visible { display: block; }
.ffg-form__submit { width: 100%; margin-top: 8px; }
.ffg-form__note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

.ffg-article { max-width: 780px; }
.ffg-article h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.ffg-article h2:first-child { margin-top: 0; }
.ffg-article p, .ffg-article li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.ffg-article ul { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.ffg-article li { padding-left: 20px; position: relative; }
.ffg-article li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 1.5px; background: var(--accent); }
.ffg-article__updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-bottom: 8px; display: block; }
.ffg-article__placeholder { padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-family: var(--font-mono); font-size: .92em; }

.ffg-thanks { text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.ffg-thanks__icon { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }

.ffg-footer { background: var(--ink); color: var(--ink-fg); }
.ffg-footer__top { max-width: var(--container); margin-inline: auto; padding: 64px 20px 40px; display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .ffg-footer__top { padding-inline: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); } }
@media (min-width: 1024px) { .ffg-footer__top { padding-inline: 48px; } }
.ffg-footer__brand { grid-column: 1 / -1; }
@media (min-width: 640px) { .ffg-footer__brand { grid-column: auto; } }
.ffg-footer__claim { margin-top: 16px; color: var(--ink-muted); font-size: 14px; line-height: 1.6; max-width: 34ch; }
.ffg-footer__heading { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px; }
.ffg-footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.ffg-footer__list a:hover { color: oklch(78% 0.08 195); }
.ffg-footer__list--contact li { color: var(--ink-fg); }
.ffg-footer__muted { color: var(--ink-muted) !important; font-size: 13px; }
.ffg-footer__bottom { border-top: 1px solid color-mix(in oklch, var(--ink-fg) 12%, transparent); }
.ffg-footer__bottom { max-width: var(--container); margin-inline: auto; padding: 22px 20px 32px; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
@media (min-width: 640px) { .ffg-footer__bottom { padding-inline: 32px; } }
@media (min-width: 1024px) { .ffg-footer__bottom { padding-inline: 48px; } }
.ffg-footer__legal-note { font-size: 12.5px; color: var(--ink-muted); max-width: 60ch; }
.ffg-footer__legal-list { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
.ffg-footer__legal-list a:hover { color: oklch(78% 0.08 195); }

.ffg-cookie { position: fixed; inset: auto 16px 16px 16px; z-index: 300; display: flex; justify-content: center; }
.ffg-cookie__panel {
  width: 100%; max-width: 640px; padding: 20px 22px; border-radius: var(--r-lg);
  background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: blur(16px);
  border: 1px solid var(--border); box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; gap: 16px;
}
.ffg-cookie__text { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.ffg-cookie__text a { color: var(--fg); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ffg-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 520px) { .ffg-cookie__panel { flex-direction: row; align-items: center; } .ffg-cookie__actions { flex: none; } }

[data-ffg-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-ffg-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-ffg-reveal] { opacity: 1; transform: none; } }
