/*
 * fileknot public pages - style layer, second version (2026-11-25, owner: "the homepage and other pages need the same redesign").
 * Same design language as the account area (styles/fk-gx-account.css): a dark frame (header + footer), one lighter content panel,
 * cards and fields told apart by tone instead of border lines, 40px+ controls, one solid lime action per view, Phosphor icons
 * (fk-icons-pub.css). Loaded LAST by partial/layout.html.twig and scoped to body.fk-gx so it wins over the old Stack/Bootstrap
 * theme without touching its files. Sizes in px.
 */
:root {
  --fk-chrome: oklch(0.11 0 0);
  --fk-panel: oklch(0.15 0 0);
  --fk-card: oklch(0.195 0 0);
  --fk-field: oklch(0.235 0 0);
  --fk-field-hover: oklch(0.27 0 0);
  --fk-hair: oklch(0.25 0 0);
  --foreground: oklch(0.975 0 0);
  --muted-foreground: oklch(0.72 0 0);
  --primary: oklch(0.768 0.186 130.85);
  --primary-foreground: oklch(0.17 0.03 150);
  /* LESS GREEN (2026-11-26): links, icons and tints are neutral; --lime-text is for the few places that keep lime */
  --lime-text: oklch(0.841 0.19 128.85);
  --link: oklch(0.93 0 0);
  --soft: color-mix(in oklab, var(--foreground) 8%, transparent);
  --soft-hover: color-mix(in oklab, var(--foreground) 13%, transparent);
  --success: oklch(0.76 0.15 165);
  --warning: oklch(0.85 0.14 85);
  --danger: oklch(0.72 0.17 25);
  --medal: oklch(0.82 0.15 85);
  --ring: var(--primary);
  /* names the first version used (templates and plugin boxes may still read them) */
  --background: var(--fk-chrome); --card: var(--fk-card); --card-soft: var(--fk-panel); --popover: var(--fk-card);
  --secondary: var(--fk-field); --muted: var(--fk-field); --accent: var(--fk-field-hover); --border: var(--fk-hair); --input: var(--fk-field);
  --radius: 10px;
  --radius-lg: 16px;
  --content-max: 1160px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-face: "Bricolage Grotesque", var(--font-sans);
  --logo-face: "Unbounded", var(--display-face);
}

/* ---------- shell: dark frame, one lighter panel ---------- */
html { background: var(--fk-chrome); color-scheme: dark; }
html body.fk-gx { background: var(--fk-chrome); color: var(--foreground); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.fk-gx .main-container { background: transparent; }
.gx-main { display: flow-root; min-height: calc(100vh - 72px); margin: 0 12px; border-radius: 22px; background: var(--fk-panel); overflow: clip; }
body.fk-gx section { background: transparent; padding: 72px 0; }
body.fk-gx .bg--secondary, body.fk-gx section.bg--secondary { background: transparent !important; }
body.fk-gx .container { max-width: 1208px; padding-left: 24px; padding-right: 24px; }

/* ---------- type ---------- */
body.fk-gx h1, body.fk-gx h2, body.fk-gx h3, body.fk-gx h4, body.fk-gx h5, body.fk-gx .h1, body.fk-gx .h2, body.fk-gx .h3, body.fk-gx .h4, body.fk-gx .h5 {
  font-family: var(--display-face); color: var(--foreground); font-weight: 700; letter-spacing: -0.02em; }
body.fk-gx h1, body.fk-gx .h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin: 0 0 16px; }
body.fk-gx h2, body.fk-gx .h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.14; margin: 0 0 12px; }
body.fk-gx h3, body.fk-gx .h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
body.fk-gx h4, body.fk-gx .h4 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
body.fk-gx h5, body.fk-gx .h5 { font-size: 15px; line-height: 1.4; margin: 0 0 6px; letter-spacing: -0.01em; }
body.fk-gx p, body.fk-gx li, body.fk-gx td, body.fk-gx label { color: var(--muted-foreground); }
body.fk-gx p { font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
body.fk-gx p.lead, body.fk-gx .lead { font-size: 17px; line-height: 1.65; font-weight: 400; color: color-mix(in oklab, var(--foreground) 78%, transparent); }
body.fk-gx strong, body.fk-gx b { color: var(--foreground); font-weight: 600; }
body.fk-gx a { color: var(--link); text-decoration: none; }
body.fk-gx a:hover { color: var(--foreground); text-decoration: none; }
body.fk-gx hr { border: 0; height: 1px; margin: 24px 0; background: var(--fk-hair); }
body.fk-gx .type--fine-print { font-size: 13px; color: var(--muted-foreground); }
body.fk-gx ::selection { background: color-mix(in oklab, var(--primary) 35%, transparent); }
.gx-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.gx-muted { color: var(--muted-foreground) !important; }

/* ---------- buttons: neutral = filled grey, accent = soft lime, solid = the one main action ---------- */
body.fk-gx .btn, body.fk-gx .gx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  height: 40px; min-width: 0; margin: 0; padding: 0 18px; border: 0; border-radius: 10px; background: var(--fk-field); color: var(--foreground);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none; white-space: nowrap;
  box-shadow: none; cursor: pointer; text-decoration: none !important; transform: none; transition: background-color .14s ease, color .14s ease; }
body.fk-gx .btn:hover, body.fk-gx .gx-btn:hover { background: var(--fk-field-hover); color: var(--foreground); transform: none; box-shadow: none; }
body.fk-gx .btn .btn__text { color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; }
body.fk-gx .gx-btn > i { font-size: 18px; }
body.fk-gx .gx-btn--accent { background: var(--soft); color: var(--link); }
body.fk-gx .gx-btn--accent:hover { background: var(--soft-hover); color: var(--link); }
body.fk-gx .gx-btn--solid, body.fk-gx .btn--primary, body.fk-gx .btn--primary-1 { background: var(--primary); color: var(--primary-foreground); }
body.fk-gx .gx-btn--solid:hover, body.fk-gx .btn--primary:hover, body.fk-gx .btn--primary-1:hover { background: color-mix(in oklab, var(--primary) 86%, white); color: var(--primary-foreground); }
body.fk-gx .btn--primary .btn__text, body.fk-gx .btn--primary-1 .btn__text { color: var(--primary-foreground) !important; }
body.fk-gx .gx-btn--ghost { background: transparent; color: var(--muted-foreground); }
body.fk-gx .gx-btn--ghost:hover { background: var(--fk-field); color: var(--foreground); }
body.fk-gx .btn--sm, body.fk-gx .gx-btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
body.fk-gx .gx-btn--sm > i { font-size: 16px; }
body.fk-gx .gx-btn--lg { height: 50px; padding: 0 24px; border-radius: 12px; font-size: 15.5px; }
body.fk-gx .gx-btn--lg > i { font-size: 20px; }
body.fk-gx .gx-btn--block { display: flex; width: 100%; }
body.fk-gx .btn + .btn { margin-left: 8px; }

/* ---------- cards, pills, icon tiles ---------- */
body.fk-gx .boxed, body.fk-gx .gx-card, body.fk-gx .feature.boxed { background: var(--fk-card); border: 0; border-radius: var(--radius-lg); box-shadow: none; color: var(--foreground); }
.gx-card { padding: 28px; }
.gx-card h3 { margin: 18px 0 8px; font-size: 19px; }
.gx-card p { margin: 0; font-size: 15px; }
.gx-icon { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--fk-field); color: var(--link); font-size: 20px; }
.gx-pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--fk-field); color: var(--muted-foreground); }
.gx-pill > i { font-size: 14px; }
.gx-pill--accent { background: var(--soft); color: var(--link); }
.gx-pill--medal { background: color-mix(in oklab, var(--medal) 16%, transparent); color: var(--medal); }
.gx-check { list-style: none; margin: 0; padding: 0; }
.gx-check li { position: relative; margin: 0; padding: 6px 0 6px 28px; font-size: 15px; line-height: 1.5; color: color-mix(in oklab, var(--foreground) 86%, transparent); }
.gx-check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; background: var(--link); -webkit-mask: var(--ph-check) center / contain no-repeat; mask: var(--ph-check) center / contain no-repeat; }
.gx-check li.gx-x { color: var(--muted-foreground); }
.gx-check li.gx-x::before { background: color-mix(in oklab, var(--muted-foreground) 70%, transparent); -webkit-mask-image: var(--ph-x); mask-image: var(--ph-x); }

/* ---------- forms (old Stack markup and new .gx-field markup) ---------- */
body.fk-gx input[type=text], body.fk-gx input[type=email], body.fk-gx input[type=password], body.fk-gx input[type=search], body.fk-gx input[type=url],
body.fk-gx input[type=number], body.fk-gx input[type=tel], body.fk-gx textarea, body.fk-gx select {
  width: 100%; height: 46px; margin: 0; padding: 0 14px; box-sizing: border-box; background-color: var(--fk-field) !important; border: 0 !important; border-radius: 10px !important;
  color: var(--foreground) !important; font-family: var(--font-sans); font-size: 15px; line-height: 1.4; box-shadow: inset 0 0 0 1.5px transparent !important;
  transition: background-color .14s ease, box-shadow .14s ease; }
body.fk-gx textarea { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }
body.fk-gx input:hover, body.fk-gx textarea:hover, body.fk-gx select:hover { background-color: var(--fk-field-hover) !important; }
body.fk-gx input:focus, body.fk-gx textarea:focus, body.fk-gx select:focus { outline: 0; background-color: var(--fk-field) !important; box-shadow: inset 0 0 0 1.5px var(--primary) !important; }
body.fk-gx input::placeholder, body.fk-gx textarea::placeholder { color: color-mix(in oklab, var(--muted-foreground) 62%, transparent); }
body.fk-gx input:-webkit-autofill { -webkit-text-fill-color: var(--foreground); box-shadow: inset 0 0 0 1000px var(--fk-field), inset 0 0 0 1.5px transparent !important; caret-color: var(--foreground); }
body.fk-gx select { -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23a8a8a8'%3E%3Cpath d='M216.49 104.49l-80 80a12 12 0 0 1-17 0l-80-80a12 12 0 0 1 17-17L128 159l71.51-71.52a12 12 0 0 1 17 17Z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 16px 16px !important; }
body.fk-gx .input-select::after { display: none !important; }
body.fk-gx form .row > [class*="col-"] { margin-bottom: 14px; }
body.fk-gx form .row > [class*="col-"] > span { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--muted-foreground); }
.gx-form { display: grid; gap: 16px; margin: 0; }
.gx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gx-field { display: block; margin: 0; min-width: 0; }
.gx-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
body.fk-gx .gx-field label, body.fk-gx .gx-field__top > label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; line-height: 1.4; color: color-mix(in oklab, var(--foreground) 82%, transparent); cursor: pointer; }
body.fk-gx .gx-field__top > label { margin: 0; }
.gx-field__top a { font-size: 13px; font-weight: 500; }
.gx-field__hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted-foreground); }
@media (max-width: 600px) { .gx-form__row { grid-template-columns: 1fr; } }

/* ---------- alerts ---------- */
body.fk-gx .alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--fk-field); color: var(--foreground);
  box-shadow: inset 3px 0 0 var(--muted-foreground); font-size: 14px; line-height: 1.5; text-align: left; }
body.fk-gx .alert .alert__body { flex: 1; min-width: 0; float: none; color: inherit; }
body.fk-gx .alert .alert__body i { margin-right: 4px; }
body.fk-gx .alert.bg--error, body.fk-gx .alert.alert-danger { box-shadow: inset 3px 0 0 var(--danger); background: color-mix(in oklab, var(--danger) 12%, var(--fk-card)); }
body.fk-gx .alert.bg--error i, body.fk-gx .color--error { color: var(--danger) !important; }
body.fk-gx .alert.bg--success, body.fk-gx .alert.alert-success { box-shadow: inset 3px 0 0 var(--success); background: color-mix(in oklab, var(--success) 12%, var(--fk-card)); }
body.fk-gx .alert.bg--success i, body.fk-gx .color--success { color: var(--success) !important; }
body.fk-gx .label, body.fk-gx .badge { border-radius: 999px; }

/* ---------- tables: rows told apart by tone, no grid lines ---------- */
body.fk-gx table { width: 100%; background: var(--fk-card); border: 0; border-radius: var(--radius-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; }
body.fk-gx table th, body.fk-gx table td { border: 0; padding: 14px 20px; font-size: 14.5px; color: var(--muted-foreground); background: transparent !important; vertical-align: middle; }
body.fk-gx table tbody tr:nth-child(odd) td { background: rgb(255 255 255 / .022) !important; }
body.fk-gx table th { padding-top: 16px; padding-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }

/* ---------- header ---------- */
.gx-header { position: sticky; top: 0; z-index: 50; background: var(--fk-chrome); }
.gx-header__in { box-sizing: border-box; max-width: 1232px; height: 60px; margin: 0 auto; padding: 0 36px; display: flex; align-items: center; gap: 20px; }
.gx-logo { display: inline-flex; align-items: center; height: 40px; color: var(--foreground) !important; font-family: var(--logo-face); font-weight: 800; font-size: 19px; letter-spacing: .01em; line-height: 1; text-decoration: none !important; }
.gx-logo i { font-style: normal; color: var(--primary); }
.gx-nav { display: flex; align-items: center; gap: 2px; margin: 0 0 0 12px; padding: 0; list-style: none; }
.gx-nav li { display: flex; margin: 0; }
body.fk-gx .gx-nav a { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; color: var(--muted-foreground); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .14s ease, color .14s ease; }
body.fk-gx .gx-nav a:hover { color: var(--foreground); background: color-mix(in oklab, var(--fk-field) 60%, transparent); }
body.fk-gx .gx-nav a.active { color: var(--foreground); background: var(--fk-field); }
.gx-header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
body.fk-gx button.gx-burger { display: none; width: 40px; height: 40px; min-width: 0; margin: 0; padding: 0; align-items: center; justify-content: center; border: 0; border-radius: 10px;
  background: transparent; box-shadow: none; color: var(--foreground); cursor: pointer; }
body.fk-gx button.gx-burger:hover, body.fk-gx button.gx-burger[aria-expanded="true"] { background: var(--fk-field); }
.gx-burger i { font-size: 22px; }
.gx-drawer { display: none; padding: 4px 12px 16px; background: var(--fk-chrome); }
.gx-drawer.open { display: block; }
body.fk-gx .gx-drawer > a { display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 10px; color: var(--foreground); font-size: 15px; font-weight: 500; }
body.fk-gx .gx-drawer > a:hover { background: var(--fk-field); }
.gx-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding: 0 2px; }
@media (max-width: 991px) {
  .gx-nav, .gx-header__right .gx-hide-sm { display: none !important; }
  body.fk-gx button.gx-burger { display: inline-flex; }
}

/* ---------- footer: part of the frame, no rules ---------- */
.gx-footer { margin: 0; border: 0; background: transparent; }
.gx-footer__in { box-sizing: border-box; max-width: 1232px; margin: 0 auto; padding: 56px 36px 32px; }
.gx-footer__grid { display: grid; grid-template-columns: minmax(0, 1.8fr) 1fr 1fr 1fr; gap: 32px 40px; }
body.fk-gx .gx-footer__blurb { margin: 14px 0 0; max-width: 36ch; font-size: 14px; line-height: 1.65; color: var(--muted-foreground); }
body.fk-gx .gx-footer h6 { margin: 0 0 12px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, var(--foreground) 62%, transparent); }
.gx-footer ul { list-style: none; margin: 0; padding: 0; }
.gx-footer ul li { margin: 0; }
body.fk-gx .gx-footer ul a { display: inline-flex; align-items: center; height: 34px; font-size: 14px; color: var(--muted-foreground); }
body.fk-gx .gx-footer ul a:hover { color: var(--foreground); }
.gx-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 44px; font-size: 13px; color: color-mix(in oklab, var(--muted-foreground) 80%, transparent); }
body.fk-gx .gx-footer__bottom a { color: inherit; }
body.fk-gx .gx-footer__bottom a:hover { color: var(--foreground); }
.gx-footer .advert-wrapper { margin-bottom: 32px; text-align: center; }
.gx-footer__plugins { margin-top: 32px; }

/* ---------- layout pieces ---------- */
.gx-wrap { box-sizing: border-box; max-width: 1208px; margin: 0 auto; padding: 0 24px; }
.gx-narrow { box-sizing: border-box; max-width: 1008px; margin: 0 auto; padding: 0 24px; }
.gx-slim { box-sizing: border-box; max-width: 808px; margin: 0 auto; padding: 0 24px; }
body.fk-gx section.gx-section { padding: 72px 0; }
body.fk-gx section.gx-section--tight { padding: 40px 0; }
body.fk-gx section.gx-section + section.gx-section { padding-top: 16px; }
.gx-section-head { margin-bottom: 32px; }
.gx-section-head--center { text-align: center; }
body.fk-gx .gx-section-head h2 { margin: 10px 0 0; }
body.fk-gx .gx-section-head p { margin: 12px 0 0; max-width: 62ch; }
.gx-section-head--center p { margin-left: auto !important; margin-right: auto !important; }
.gx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gx-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .gx-grid-3, .gx-grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* page head used by FAQ, contact, legal and the old Stack pages (h1 + hr) */
.gx-page-head { margin: 0 0 36px; }
body.fk-gx .gx-page-head h1 { margin: 10px 0 0; }
body.fk-gx .gx-page-head p { margin: 14px 0 0; max-width: 60ch; font-size: 17px; }
body.fk-gx section .col-md-12 > h1 { margin-bottom: 28px; }
body.fk-gx section .col-md-12 > h1 + hr, body.fk-gx section .col-md-12 > h1 + p + hr { display: none; }
body.fk-gx section .col-md-12 > h1 + p { margin: -12px 0 28px; }

/* ---------- home ---------- */
body.fk-gx section.gx-hero { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 72px; }
.gx-hero::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 58%; height: 150%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--primary) 13%, transparent), transparent 72%); }
.gx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
body.fk-gx .gx-hero h1 { margin: 16px 0 18px; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.04; }
body.fk-gx .gx-hero .lead { max-width: 34em; margin: 0; }
.gx-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.gx-hero__facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 44px; }
.gx-hero__facts div { font-size: 13px; line-height: 1.5; color: var(--muted-foreground); }
.gx-hero__facts strong { display: block; margin-bottom: 2px; font-family: var(--display-face); font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--foreground); }
.gx-drop { padding: 20px; border-radius: 20px !important; }
body.fk-gx .gx-drop__zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 230px; padding: 24px; text-align: center;
  border: 1.5px dashed color-mix(in oklab, var(--primary) 50%, transparent); border-radius: 14px; background: color-mix(in oklab, var(--primary) 5%, transparent);
  color: var(--muted-foreground); font-size: 14px; transition: background-color .14s ease; }
body.fk-gx .gx-drop__zone:hover { background: color-mix(in oklab, var(--primary) 10%, transparent); color: var(--muted-foreground); }
body.fk-gx .gx-drop__zone > i { margin-bottom: 8px; font-size: 40px; color: var(--link); }
.gx-drop__zone strong { font-size: 16px; }
.gx-drop__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--fk-field); }
.gx-drop__row .gx-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--fk-field-hover); font-size: 18px; }
.gx-drop__meta { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted-foreground); }
.gx-drop__meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.gx-bar { height: 5px; margin-top: 7px; border-radius: 999px; background: var(--fk-field-hover); overflow: hidden; }
.gx-bar span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.gx-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 20px !important;
  background: linear-gradient(120deg, color-mix(in oklab, var(--primary) 12%, var(--fk-card)), var(--fk-card) 60%) !important; }
body.fk-gx .gx-cta h2 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 30px); }
body.fk-gx .gx-cta p { margin: 0; max-width: 48ch; }
@media (max-width: 900px) { body.fk-gx section.gx-hero { padding: 48px 0 40px; } .gx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Free / Premium cards (home + download page) */
.gx-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.gx-plan { position: relative; display: flex; flex-direction: column; padding: 28px; }
body.fk-gx .gx-plan--pro { background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 11%, var(--fk-card)), var(--fk-card) 62%); }
.gx-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.gx-plan__name { font-family: var(--display-face); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
.gx-plan .gx-check { margin: 20px 0 28px; flex: 1; }
.gx-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; }
.gx-stat strong { font-family: var(--display-face); font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.gx-stat span { font-size: 13px; color: var(--muted-foreground); }
.gx-plan--pro .gx-stat strong { color: var(--link); }
@media (max-width: 720px) { .gx-compare { grid-template-columns: minmax(0, 1fr); } .gx-plan--pro { order: -1; } }

/* ---------- download page ---------- */
.gx-file { display: flex; align-items: center; gap: 18px; padding: 24px 28px; }
.gx-file__icon { flex: none; width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--link); font-size: 26px; }
.gx-file__body { min-width: 0; flex: 1; }
body.fk-gx .gx-file__name { margin: 0; font-family: var(--display-face); font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; line-height: 1.22; overflow-wrap: anywhere; }
.gx-file__name::before { content: attr(data-name); }
.gx-file__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gx-countdown { display: none; }
.gx-countdown__ring { display: flex; align-items: center; gap: 14px; min-height: 50px; font-size: 14.5px; color: var(--foreground); }
.gx-countdown__num { display: inline-flex; flex: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 999px;
  border: 2.5px solid var(--fk-field-hover); border-top-color: var(--primary); font-family: var(--display-face); font-size: 17px; font-weight: 700; animation: gx-spin 1s linear infinite; }
.gx-countdown__num b { display: inline-block; animation: gx-spin 1s linear infinite reverse; }
@keyframes gx-spin { to { transform: rotate(360deg); } }
.gx-upsell { display: none; margin-top: 14px; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--soft); font-size: 14px; line-height: 1.5; color: color-mix(in oklab, var(--foreground) 84%, transparent); }
.gx-upsell a { font-weight: 600; white-space: nowrap; }
.gx-details { margin-top: 16px; }
.gx-details td:nth-child(2), .gx-details td:nth-child(3), .gx-details th:nth-child(2), .gx-details th:nth-child(3) { text-align: center; width: 24%; }
body.fk-gx .gx-details td:first-child { color: color-mix(in oklab, var(--foreground) 86%, transparent); }
body.fk-gx .gx-details td:nth-child(3) { color: var(--foreground); font-weight: 600; }
body.fk-gx .gx-details th.gx-pro-col { color: var(--link); }
.gx-ad { margin: 16px auto; text-align: center; }
@media (max-width: 600px) { .gx-file { padding: 20px; gap: 14px; } .gx-file__icon { width: 48px; height: 48px; border-radius: 13px; font-size: 22px; }
  body.fk-gx .gx-details td, body.fk-gx .gx-details th { padding: 12px 10px; font-size: 13px; } body.fk-gx .gx-details td:first-child, body.fk-gx .gx-details th:first-child { padding-left: 16px; } }

/* ---------- Premium page ---------- */
.gx-seg { display: inline-flex; gap: 4px; padding: 4px; border: 0; border-radius: 14px; background: var(--fk-card); }
body.fk-gx .gx-seg a { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 10px; color: var(--muted-foreground); font-weight: 600; font-size: 14px; }
body.fk-gx .gx-seg a:hover { color: var(--foreground); }
body.fk-gx .gx-seg a.current-link { background: var(--fk-field-hover); color: var(--foreground); box-shadow: none; }
.gx-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.gx-price { position: relative; display: flex; flex-direction: column; padding: 28px; text-align: left; }
body.fk-gx .gx-price--best { background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 11%, var(--fk-card)), var(--fk-card) 62%); }
.gx-price__tag { position: absolute; top: 24px; right: 24px; left: auto; }
.gx-price__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.gx-price__amount { display: flex; align-items: baseline; gap: 2px; margin: 14px 0 4px; font-family: var(--display-face); font-weight: 700; color: var(--foreground); }
.gx-price__amount .cur { font-size: 22px; color: var(--muted-foreground); }
.gx-price__amount .num { font-size: 46px; line-height: 1; letter-spacing: -0.03em; }
.gx-price__per { font-size: 13px; color: var(--muted-foreground); }
.gx-price .gx-check { margin: 20px 0 26px; }
.gx-price .gateway-box-wrapper { margin-top: auto; padding: 0; border: 0; background: transparent; }
.gx-price .gateway-box-wrapper > div { margin-bottom: 8px !important; padding: 0 !important; }
body.fk-gx .gateway-pay-btn { display: flex; box-sizing: border-box; width: 100%; height: 48px; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0 18px; border: 0 !important; border-radius: 12px;
  background: var(--soft) !important; color: var(--link) !important; font-family: var(--font-sans); font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; transition: background-color .14s ease; }
body.fk-gx .gateway-pay-btn:hover { background: var(--soft-hover) !important; color: var(--link) !important; }
body.fk-gx .gx-price--best .gateway-pay-btn { background: var(--primary) !important; color: var(--primary-foreground) !important; }
body.fk-gx .gx-price--best .gateway-pay-btn:hover { background: color-mix(in oklab, var(--primary) 86%, white) !important; color: var(--primary-foreground) !important; }
body.fk-gx .gateway-pay-methods { display: flex; justify-content: center; gap: 10px; margin-top: 12px; font-size: 22px; color: color-mix(in oklab, var(--muted-foreground) 80%, transparent); }
.gx-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted-foreground); }
.gx-trust li, .gx-trust span { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.gx-trust i { color: var(--link); font-size: 17px; margin: 0; }
.gx-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; }
.gx-faq { display: grid; gap: 8px; }
.gx-faq details { margin: 0; padding: 0 22px; border: 0; border-radius: 14px; background: var(--fk-card); transition: background-color .14s ease; }
.gx-faq details:hover { background: color-mix(in oklab, var(--fk-card) 60%, var(--fk-field)); }
.gx-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 0; list-style: none; cursor: pointer; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--foreground); }
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--muted-foreground); -webkit-mask: var(--ph-caret-down) center / contain no-repeat; mask: var(--ph-caret-down) center / contain no-repeat; transition: transform .16s ease; }
.gx-faq details[open] summary::after { transform: rotate(180deg); background: var(--link); }
body.fk-gx .gx-faq details p { margin: 0; padding: 0 0 20px; max-width: 70ch; font-size: 15px; }

/* ---------- sign-in style pages: one centred card (new .gx-auth markup and the old Stack column) ---------- */
body.fk-gx section.gx-auth { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 72px); padding: 56px 16px; }
.gx-auth__card, body.fk-gx section .col-md-7.col-lg-5 { box-sizing: border-box; flex: 0 0 auto; width: 100%; max-width: 440px; margin: 0 auto; padding: 36px; border-radius: 20px; background: var(--fk-card); text-align: left; }
body.fk-gx .gx-auth__card h1, body.fk-gx section .col-md-7.col-lg-5 > h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; }
body.fk-gx .gx-auth__lead, body.fk-gx section .col-md-7.col-lg-5 > p { margin: 0 0 24px; font-size: 14.5px; line-height: 1.6; }
body.fk-gx .gx-auth__card .alert { margin: 0 0 20px; }
body.fk-gx .gx-auth__alt { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--muted-foreground); }
.gx-auth__alt a { font-weight: 600; }
.gx-auth__or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); }
.gx-auth__or::before, .gx-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--fk-hair); }
.gx-auth__social:empty, .gx-auth__or:has(+ .gx-auth__social:empty) { display: none; }
.gx-auth__social { text-align: center; }
/* old markup */
body.fk-gx section.height-80 { height: auto; min-height: calc(100vh - 72px); display: flex; align-items: center; padding: 56px 0; }
body.fk-gx section.height-80 > .container { width: 100%; }
body.fk-gx .pos-vertical-center { position: static; top: auto; transform: none; -webkit-transform: none; }
body.fk-gx section.text-center .row { justify-content: center; }
body.fk-gx section .col-md-7.col-lg-5 form .row { margin: 0; }
body.fk-gx section .col-md-7.col-lg-5 form .row > [class*="col-"] { padding: 0; }
body.fk-gx section .col-md-7.col-lg-5 form > input:not([type=hidden]) { margin-bottom: 14px; }
body.fk-gx section .col-md-7.col-lg-5 form .btn { display: flex; width: 100%; height: 50px; margin-top: 4px; border-radius: 12px; font-size: 15.5px; }
body.fk-gx section .col-md-7.col-lg-5 > .type--fine-print { display: block; margin-top: 20px; text-align: center; font-size: 14px; }
body.fk-gx section .col-md-7.col-lg-5 > hr:last-child, body.fk-gx section .col-md-7.col-lg-5 > hr { display: none; }

/* ---------- FAQ and contact ---------- */
.gx-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.gx-side { display: grid; gap: 16px; position: sticky; top: 84px; }
.gx-side .gx-card { padding: 24px; }
body.fk-gx .gx-side h3 { margin: 16px 0 6px; font-size: 18px; }
body.fk-gx .gx-side p { margin: 0 0 18px; font-size: 14.5px; }
.gx-side--pro { background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 11%, var(--fk-card)), var(--fk-card) 70%) !important; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-formcard { padding: 32px; }
@media (max-width: 900px) { .gx-split { grid-template-columns: minmax(0, 1fr); } .gx-side { position: static; } .gx-formcard { padding: 24px; } }

/* ---------- error pages ---------- */
body.fk-gx section.gx-empty { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 72px); padding: 56px 24px; text-align: center; }
.gx-empty__code { font-family: var(--display-face); font-size: clamp(88px, 16vw, 168px); font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: transparent;
  background: linear-gradient(180deg, var(--link), color-mix(in oklab, var(--primary) 20%, transparent)); -webkit-background-clip: text; background-clip: text; }
body.fk-gx .gx-empty h1 { margin: 20px 0 10px; font-size: clamp(24px, 3vw, 32px); }
body.fk-gx .gx-empty p { margin: 0 auto 28px; max-width: 44ch; }
.gx-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
body.fk-gx .h1--large { font-size: clamp(88px, 16vw, 168px); line-height: .9; letter-spacing: -0.04em; color: var(--link); }

/* ---------- long text (terms, privacy) and other old Stack pages ---------- */
body.fk-gx section ul:not([class]) li, body.fk-gx section ol:not([class]) li { margin-bottom: 6px; font-size: 15px; line-height: 1.7; }
body.fk-gx .accordion { border: 0; }
body.fk-gx .accordion li { margin: 0 0 8px; border: 0 !important; border-radius: 14px; background: var(--fk-card); }
body.fk-gx .accordion .accordion__title { padding: 18px 22px; border: 0 !important; background: transparent !important; opacity: 1; }
body.fk-gx .accordion .accordion__title .h5 { margin: 0; font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0; }
body.fk-gx .accordion .accordion__content { border: 0 !important; }
body.fk-gx .accordion li.active .accordion__content > * { margin: 0; padding: 0 22px 20px; font-size: 15px; }

/* old Stack chrome we no longer use */
body.fk-gx .back-to-top { display: none !important; }
body.fk-gx .cookiealert { background: var(--fk-card); border: 0; color: var(--foreground); }

/* focus: no ring or glow on mouse clicks (bootstrap 4 adds a glow to clicked buttons), lime ring for keyboard */
body.fk-gx a:focus, body.fk-gx button:focus, body.fk-gx .btn:focus, body.fk-gx .btn.focus, body.fk-gx .btn:active:focus, body.fk-gx .gx-btn:focus,
body.fk-gx [tabindex]:focus, body.fk-gx summary:focus { outline: 0 !important; box-shadow: none !important; }
body.fk-gx a:focus-visible, body.fk-gx button:focus-visible, body.fk-gx .btn:focus-visible, body.fk-gx .gx-btn:focus-visible,
body.fk-gx [tabindex]:not([tabindex="-1"]):focus-visible, body.fk-gx summary:focus-visible { outline: 2px solid var(--ring) !important; outline-offset: 2px; }

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .gx-main { margin: 0; border-radius: 20px 20px 0 0; min-height: calc(100vh - 60px); }
  .gx-header__in { padding: 0 8px 0 16px; gap: 10px; }
  .gx-logo { font-size: 17px; }
  .gx-wrap, .gx-narrow, .gx-slim { padding: 0 16px; }
  body.fk-gx .container { padding-left: 16px; padding-right: 16px; }
  body.fk-gx section, body.fk-gx section.gx-section { padding: 48px 0; }
  body.fk-gx section.gx-section--tight { padding: 20px 0 32px; }
  .gx-card, .gx-plan, .gx-price { padding: 22px; }
  .gx-hero__facts { gap: 14px 28px; margin-top: 32px; }
  .gx-hero__actions .gx-btn { flex: 1 1 auto; }
  .gx-cta { padding: 26px 22px; }
  .gx-cta .gx-btn { width: 100%; }
  .gx-auth__card, body.fk-gx section .col-md-7.col-lg-5 { padding: 26px 22px; }
  body.fk-gx section.gx-auth, body.fk-gx section.height-80 { min-height: 0; padding: 32px 16px 48px; align-items: flex-start; }
  .gx-footer__in { padding: 40px 20px 28px; }
  .gx-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .gx-footer__grid > :first-child { grid-column: span 2; }
  .gx-footer__bottom { margin-top: 32px; }
  .gx-seg { display: flex; }
  body.fk-gx .gx-seg a { flex: 1; justify-content: center; padding: 0 10px; }
}

/* additions used by the rewritten templates */
.gx-icon--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 30px; }
.gx-icon--danger { background: color-mix(in oklab, var(--danger) 14%, transparent); color: var(--danger); }
.gx-faq--after { max-width: 760px; margin: 64px auto 0; }
body.fk-gx .gx-faq > h3 { margin: 0 0 12px; text-align: center; font-size: 26px; }

/* footer: the old theme pads every <footer> by 5.8em, and the advert slot keeps its margin when it is empty */
body.fk-gx footer.gx-footer { padding: 0; }
.gx-footer .advert-wrapper:not(:has(*)) { display: none; }

/* cookie notice: a small card in the corner instead of a bar across the page */
body.fk-gx .cookiealert { display: block; left: 16px; right: auto; bottom: 16px; width: auto; max-width: 400px; margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--fk-card);
  box-shadow: 0 18px 44px rgb(0 0 0 / .55); text-align: left; font-size: 13.5px; line-height: 1.55; color: var(--muted-foreground); }
body.fk-gx .cookiealert strong { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--foreground); }
body.fk-gx .cookiealert a { font-weight: 600; white-space: nowrap; }
body.fk-gx .cookiealert .acceptcookies { display: flex; width: 100%; height: 38px; margin: 14px 0 0; background: var(--fk-field); color: var(--foreground); }
body.fk-gx .cookiealert .acceptcookies:hover { background: var(--fk-field-hover); color: var(--foreground); }
@media (max-width: 480px) { body.fk-gx .cookiealert { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* old-markup pages (report a file, link checker, ...): drop the clip-art column, put the form on a card like the contact page */
body.fk-gx section .row > .col-md-3.text-center:has(> img) { display: none; }
body.fk-gx section .row > .col-md-9:has(form) { box-sizing: border-box; flex: 0 0 100%; max-width: 840px; margin: 0 15px; padding: 32px; border-radius: var(--radius-lg); background: var(--fk-card); }
body.fk-gx section .row > .col-md-9:has(form) > p:first-child { margin-bottom: 24px; }
body.fk-gx section .row > .col-md-9:has(form) form .btn { height: 50px; padding: 0 24px; border-radius: 12px; font-size: 15.5px; }
/* long text (terms, privacy): readable measure, section names as small headings */
body.fk-gx section article { max-width: 78ch; font-size: 15px; line-height: 1.75; color: var(--muted-foreground); }
body.fk-gx section article strong { display: inline-block; margin-top: 10px; font-family: var(--display-face); font-size: 19px; letter-spacing: -0.01em; color: var(--foreground); }
/* trust line under the prices: two per row instead of three and an orphan */
.gx-trust { max-width: 620px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { body.fk-gx section .row > .col-md-9:has(form) { margin: 0; padding: 22px; } .gx-trust { justify-content: flex-start; } }

/* text inside cards: no trailing gap under the last paragraph (the general paragraph rule is more specific than .gx-card p) */
body.fk-gx .gx-card p { margin-bottom: 0; }
body.fk-gx .gx-card p + p { margin-top: 12px; }
body.fk-gx .gx-side .gx-card p { margin-bottom: 18px; }
@media (max-width: 600px) { body.fk-gx .gx-file__name { font-size: 18px; } }

/* =====================================================================================================================
   Review round (2026-11-26): code blocks, the file information page, small alignment fixes.
   ===================================================================================================================== */
body.fk-gx { color-scheme: dark; accent-color: var(--primary); }
body.fk-gx pre { margin: 0 0 16px; padding: 12px 14px; overflow-x: auto; border: 0; border-radius: var(--radius); background: var(--fk-field); color: var(--foreground); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; white-space: pre; }
body.fk-gx pre strong { font-weight: 600; color: var(--link); }
body.fk-gx code { padding: 0; background: transparent; color: var(--link); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
body.fk-gx a > code { color: inherit; }

/* file information page */
.gx-info .gx-page-head { margin-bottom: 22px; }
.gx-info .gx-file__go { flex: none; }
.gx-links { margin-top: 16px; padding: 24px 28px; }
body.fk-gx .gx-links h3 { margin: 0 0 18px; font-size: 18px; }
.gx-code + .gx-code { margin-top: 16px; }
body.fk-gx .gx-code > label { display: block; margin: 0 0 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: color-mix(in oklab, var(--foreground) 86%, transparent); }
.gx-code__row { display: flex; align-items: stretch; gap: 8px; }
body.fk-gx .gx-code__row > pre { flex: 1 1 0; min-width: 0; height: 46px; margin: 0; padding: 0 14px; overflow: hidden; line-height: 46px; text-overflow: ellipsis; white-space: nowrap; }
body.fk-gx .gx-code__copy { flex: none; height: 46px; min-width: 98px; }
body.fk-gx .gx-code__copy.is-done { background: var(--soft); color: var(--link); }
@media (max-width: 600px) {
  .gx-info .gx-file { flex-wrap: wrap; }
  .gx-info .gx-file__go { width: 100%; }
  .gx-links { padding: 20px; }
  body.fk-gx .gx-code__copy { min-width: 0; width: 46px; padding: 0; }
  body.fk-gx .gx-code__copy span { display: none; }
}

/* link checker: the field label sat outside the text column */
body.fk-gx .link-checker form .row > .col-md-12 > span { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: color-mix(in oklab, var(--foreground) 86%, transparent); }
body.fk-gx .gx-code__row > .gx-code__copy { flex: 0 0 auto; width: auto; margin: 0; }

/* social login buttons (plugin box, theme copy in views/plugins/sociallogin) */
.gx-auth__social { display: flex; flex-direction: column; gap: 8px; }
body.fk-gx .gx-social { justify-content: center; gap: 10px; height: 46px; border-radius: 12px; font-size: 15px; }
body.fk-gx .gx-social > i { position: static; margin: 0; font-size: 17px; line-height: 1; }
.gx-social__mark { flex: none; width: 18px; height: 18px; }
/* captcha: keep the widget inside narrow cards */
body.fk-gx .g-recaptcha { max-width: 100%; overflow: hidden; border-radius: 4px; }
@media (max-width: 380px) { body.fk-gx .g-recaptcha { transform: scale(.88); transform-origin: left top; } }

/* delete-file confirmation page */
body.fk-gx .gx-btn--danger { background: color-mix(in oklab, var(--danger) 88%, black); color: #fff; }
body.fk-gx .gx-btn--danger:hover { background: var(--danger); color: #fff; }
.gx-confirm { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 16px; padding: 18px 20px 18px 28px; border-radius: var(--radius-lg, 16px); background: var(--fk-card); }
body.fk-gx .gx-confirm p { margin: 0; font-size: 14px; color: var(--muted-foreground); }
.gx-confirm__btns { display: flex; gap: 8px; }
body.fk-gx .gx-confirm__btns .gx-btn { width: auto; margin: 0; }
@media (max-width: 600px) { .gx-confirm { padding: 18px 20px; } .gx-confirm__btns { width: 100%; } body.fk-gx .gx-confirm__btns .gx-btn { flex: 1 1 0; } }
@media (max-width: 600px) { body.fk-gx .gx-code__row > .gx-code__copy { flex: 0 0 46px; width: 46px; min-width: 46px; padding: 0; } }

/* ---------------------------------------------------------------------------
   CONVERSION ROUND (2026-11-26)
   Plans page for visitors (upgrade_plans.html.twig), sign-up steps, the remembered pick, price anchors.
   --------------------------------------------------------------------------- */
/* plan switch: two big choices with their one-line summary */
.gx-planseg { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin: 0 0 16px; padding: 6px; border-radius: 18px; background: var(--fk-card); }
body.fk-gx .gx-planseg__item { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 13px; color: var(--muted-foreground); text-decoration: none; transition: background-color .14s ease; }
body.fk-gx .gx-planseg__item:hover { background: var(--fk-field); color: var(--muted-foreground); }
body.fk-gx .gx-planseg__item.is-active { background: var(--fk-field-hover); }
.gx-planseg__item strong { display: flex; align-items: center; gap: 10px; font-family: var(--display-face); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
.gx-planseg__item em { padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--link); font-family: var(--font-sans); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gx-planseg__item span { font-size: 13.5px; line-height: 1.4; }
.gx-planpanel[hidden] { display: none; }
.gx-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 18px; padding: 18px 22px; border-radius: 16px; background: var(--fk-card); list-style: none; }
.gx-facts li { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; color: color-mix(in oklab, var(--foreground) 84%, transparent); }
.gx-facts li i { color: var(--link); font-size: 16px; }
.gx-facts li strong { color: var(--foreground); }
body.fk-gx .gx-price__cta { margin-top: 24px; }
body.fk-gx .gx-price.is-picked { box-shadow: inset 0 0 0 2px var(--primary); }
.gx-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin: 22px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted-foreground); text-align: center; }
.gx-next a { font-weight: 600; white-space: nowrap; }
.gx-return { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--soft); font-size: 14px; line-height: 1.45; color: color-mix(in oklab, var(--foreground) 88%, transparent); }
.gx-return[hidden] { display: none; }
.gx-return i { flex: none; color: var(--link); font-size: 17px; }
.gx-return strong { color: var(--foreground); overflow-wrap: anywhere; }

/* sign-up as step 1 of 2 when a plan was picked */
.gx-steps { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--muted-foreground); }
.gx-steps[hidden] { display: none; }
.gx-steps li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.gx-steps li b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--fk-field-hover); color: var(--foreground); font-size: 12px; }
.gx-steps li.is-on { color: var(--foreground); }
.gx-steps li.is-on b { background: var(--primary); color: var(--primary-foreground); }
.gx-steps li.is-done b { background: var(--soft); color: var(--link); }
.gx-steps li + li::before { content: ""; width: 22px; height: 2px; margin-right: 2px; border-radius: 2px; background: var(--fk-field-hover); }
.gx-pick { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; line-height: 1.4; color: color-mix(in oklab, var(--foreground) 86%, transparent); }
.gx-pick[hidden] { display: none; }
.gx-pick i { flex: none; color: var(--link); font-size: 17px; }
.gx-pick > span { flex: 1 1 0; min-width: 0; }
.gx-pick strong { display: block; color: var(--foreground); }
.gx-pick a { flex: none; font-weight: 600; }
/* password field with a show / hide button (the repeat field is gone) */
.gx-pw { position: relative; }
body.fk-gx .gx-pw > input { padding-right: 76px; }
body.fk-gx .gx-form .gx-pw > button, body.fk-gx .gx-pw > button { position: absolute; top: 50%; right: 6px; left: auto; display: inline-flex; align-items: center; width: auto; min-width: 0; height: 34px; margin: 0; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted-foreground); font: 600 12.5px var(--font-sans); letter-spacing: 0; text-transform: none; cursor: pointer; transform: translateY(-50%); }
body.fk-gx .gx-pw > button:hover { background: var(--fk-field-hover); color: var(--foreground); }
.gx-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted-foreground); }
.gx-auth__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 0 18px; border-radius: 16px; background: var(--soft); color: var(--link); font-size: 24px; }

/* price anchor under a premium button */
.gx-from { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted-foreground); text-align: center; }
.gx-from strong { color: var(--foreground); }
.gx-from a { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
  .gx-facts { gap: 10px 18px; padding: 16px 18px; }
  .gx-planseg__item { padding: 12px 14px; }
}
body.fk-gx .gx-empty p:has(+ .gx-empty__more) { margin-bottom: 10px; }
body.fk-gx .gx-empty p.gx-empty__more { color: color-mix(in oklab, var(--foreground) 86%, transparent); }


/* =====================================================================================================================
   LESS GREEN (2026-11-26, owner: "too much green on the theme")
   Lime is for the one main button of a page and the one highlighted price. Links, icons, labels, tags, tinted boxes
   and card gradients are neutral (see --link / --soft at the top).
   ===================================================================================================================== */
/* text links are light and underlined, so they still read as links without colour */
body.fk-gx .gx-main p a:not(.gx-btn), body.fk-gx .gx-next a, body.fk-gx .gx-from a, body.fk-gx .gx-auth__alt a, body.fk-gx .gx-pick a,
body.fk-gx .gx-field__top a, body.fk-gx .gx-upsell a, body.fk-gx .gx-hint a, body.fk-gx article a { text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--foreground) 38%, transparent); text-underline-offset: 3px; }
body.fk-gx .gx-main p a:not(.gx-btn):hover, body.fk-gx .gx-next a:hover, body.fk-gx .gx-from a:hover, body.fk-gx .gx-auth__alt a:hover,
body.fk-gx .gx-pick a:hover, body.fk-gx .gx-field__top a:hover, body.fk-gx .gx-upsell a:hover, body.fk-gx article a:hover { text-decoration-color: var(--foreground); }
.gx-eyebrow { color: var(--muted-foreground); }
.gx-icon, .gx-facts li i, .gx-trust i, .gx-return i, .gx-pick i { color: color-mix(in oklab, var(--foreground) 70%, transparent); }
.gx-check li::before { background: color-mix(in oklab, var(--foreground) 62%, transparent); }
body.fk-gx input:focus, body.fk-gx textarea:focus, body.fk-gx select:focus { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--foreground) 55%, transparent) !important; }

/* cards: flat. The highlighted one gets a thin lime edge instead of a green wash. */
body.fk-gx .gx-plan--pro, body.fk-gx .gx-price--best, body.fk-gx .gx-side--pro { background: var(--fk-card); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--primary) 62%, transparent); }
body.fk-gx .gx-cta { background: var(--fk-card) !important; }
body.fk-gx .gx-hero::before, body.fk-gx .gx-hero__glow { background: none !important; }
body.fk-gx .gx-drop__zone { border-color: color-mix(in oklab, var(--foreground) 24%, transparent); background: transparent; }
body.fk-gx .gx-drop__zone:hover { background: color-mix(in oklab, var(--foreground) 5%, transparent); }
body.fk-gx .gx-empty__code { background: linear-gradient(180deg, var(--foreground), color-mix(in oklab, var(--foreground) 45%, transparent)); -webkit-background-clip: text; background-clip: text; }

/* the few places that keep lime */
.gx-plan--pro .gx-stat strong { color: var(--primary); }
body.fk-gx .gx-price--best .gx-price__tag { background: color-mix(in oklab, var(--primary) 16%, transparent); color: var(--lime-text); }
body.fk-gx .gx-faq details[open] summary::after { background: var(--foreground); }

/* header: Upgrade is an outlined button with a lime crown; the page's own main button is the solid one */
body.fk-gx .gx-header .gx-btn--solid { background: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--foreground) 28%, transparent); }
body.fk-gx .gx-header .gx-btn--solid:hover { background: var(--fk-field); color: var(--foreground); }
body.fk-gx .gx-header .gx-btn--solid i { color: var(--primary); }

/* ---------- NOTICES (2026-11-26, owner: "generic ai generated looking notice design") ----------
   No box, no tinted background, no side stripe, no warning triangle. A notice is a line of text in the page,
   led by a small dot in the state colour. The old icon element (<i class="fa ..."> before the text, followed by
   &nbsp;s in the templates) is turned into that dot, so the spacing in the templates stays as it is. */
body.fk-gx .alert:not(.cookiealert) {
  display: block; margin: 0 0 20px; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important;
  color: var(--foreground); font-size: 15px; font-weight: 500; line-height: 1.55; text-align: inherit; text-wrap: pretty;
}
body.fk-gx .alert:not(.cookiealert) .alert__body { display: block; color: inherit; }
body.fk-gx .alert:not(.cookiealert) i:first-child {
  display: inline-block; width: 7px; height: 7px; margin: 0 6px 0 0; border-radius: 50%; vertical-align: 2px;
  -webkit-mask: none !important; mask: none !important; background: var(--muted-foreground) !important; font-size: 0 !important;
}
body.fk-gx .alert:not(.cookiealert) i:first-child::before { content: none !important; }
body.fk-gx .alert:is(.bg--error, .alert-danger) i:first-child { background: var(--danger) !important; }
body.fk-gx .alert:is(.bg--success, .alert-success) i:first-child { background: var(--lime-text) !important; }
body.fk-gx .alert.alert-warning i:first-child { background: var(--warning) !important; }
/* notices written without an icon get the same dot */
body.fk-gx .alert:not(.cookiealert):not(:has(i:first-child))::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 0 0; border-radius: 50%; vertical-align: 2px; background: var(--muted-foreground);
}
body.fk-gx .alert:is(.bg--error, .alert-danger):not(:has(i:first-child))::before { background: var(--danger); }
body.fk-gx .alert:is(.bg--success, .alert-success):not(:has(i:first-child))::before { background: var(--lime-text); }
body.fk-gx .alert.alert-warning:not(:has(i:first-child))::before { background: var(--warning); }

/* signed-in header (2026-11-26): "My files" stays visible on phones; the upgrade button shrinks to its crown there */
@media (max-width: 991px) {
  body.fk-gx .gx-header__right .gx-upgrade--icon-sm { width: 40px; padding: 0 !important; justify-content: center; }
  body.fk-gx .gx-header__right .gx-upgrade--icon-sm .gx-upgrade__label { display: none; }
  body.fk-gx .gx-header__right .gx-upgrade--icon-sm i { margin: 0 !important; }
}
