/* =====================================================================
   Future in Russia — presentation layer
   File: frx.css   (site token prefix: frx)
   Bulma 1.0.2 is loaded first; this sheet retunes Bulma variables and
   defines the project's own component language on top.
   ===================================================================== */

:root {
  --frx-navy: #121147;
  --frx-navy-soft: #1c1d5c;
  --frx-indigo: #4f5fcd;
  --frx-indigo-deep: #3a49b8;
  --frx-magenta: #fe0467;
  --frx-magenta-deep: #d40056;
  --frx-warm: #ff5e13;

  --frx-ink: #17172b;
  --frx-text: #41414f;
  --frx-muted: #6c6c7e;
  --frx-line: #e6e5ef;
  --frx-line-strong: #d3d2e0;
  --frx-surface: #ffffff;
  --frx-tint: #f5f4fb;
  --frx-tint-deep: #ebeaf6;

  --frx-radius: 4px;
  --frx-radius-lg: 8px;
  --frx-shadow: 0 26px 50px -30px rgba(18, 17, 71, 0.4);
  --frx-shadow-sm: 0 14px 30px -20px rgba(18, 17, 71, 0.45);

  --frx-maxw: 1160px;
  --frx-section: 96px;
  --frx-nav-h: 78px;

  --frx-font-body: "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
  --frx-font-display: "Roboto Slab", "Roboto", Georgia, serif;

  /* Bulma variable retune (keeps framework utilities on brand) */
  --bulma-family-primary: var(--frx-font-body);
  --bulma-family-secondary: var(--frx-font-display);
  --bulma-primary: #4f5fcd;
  --bulma-link: #3a49b8;
  --bulma-radius: 4px;
  --bulma-text: #41414f;
  --bulma-text-strong: #17172b;
  --bulma-primary-h: 232;
  --bulma-primary-s: 56%;
  --bulma-primary-l: 56%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--frx-font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--frx-text);
  background: var(--frx-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--frx-font-display);
  color: var(--frx-ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--frx-indigo-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--frx-magenta); }

strong { color: var(--frx-ink); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--frx-magenta);
  outline-offset: 2px;
  border-radius: 2px;
}

.frx-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  background: var(--frx-navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--frx-radius);
  font-weight: 600;
  transition: top 0.2s ease;
}
.frx-skip:focus { top: 12px; color: #fff; }

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

.frx-wrap {
  width: 100%;
  max-width: var(--frx-maxw);
  margin-inline: auto;
  padding-inline: 26px;
}

/* ---------- Header ---------- */
.frx-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--frx-line);
  transition: box-shadow 0.25s ease;
}
.frx-header.is-stuck { box-shadow: 0 12px 30px -26px rgba(18,17,71,0.55); }
.frx-header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--frx-nav-h);
  max-width: var(--frx-maxw);
  margin-inline: auto;
  padding-inline: 26px;
}
.frx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--frx-ink);
  font-family: var(--frx-font-display);
  font-weight: 700;
}
.frx-brand:hover { color: var(--frx-ink); }
.frx-brand img { height: 44px; width: auto; }
.frx-brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.frx-brand__name b {
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--frx-navy);
}
.frx-brand__name small {
  font-family: var(--frx-font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frx-muted);
  margin-top: 5px;
}

.frx-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.frx-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: var(--frx-radius);
  color: var(--frx-ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.frx-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--frx-magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.frx-nav a:hover { color: var(--frx-indigo-deep); }
.frx-nav a:hover::after,
.frx-nav a[aria-current="page"]::after { transform: scaleX(1); }
.frx-nav a[aria-current="page"] { color: var(--frx-indigo-deep); }
.frx-nav .frx-btn { margin-left: 12px; }

.frx-burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--frx-line-strong);
  border-radius: var(--frx-radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.frx-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--frx-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.frx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.frx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.frx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.frx-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 340px);
  background: #fff;
  z-index: 90;
  padding: 26px;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  box-shadow: -30px 0 60px -40px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.frx-drawer.is-open { transform: translateX(0); }
.frx-drawer a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--frx-radius);
  color: var(--frx-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--frx-line);
}
.frx-drawer a[aria-current="page"] { color: var(--frx-indigo-deep); }
.frx-drawer .frx-btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
.frx-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 71, 0.45);
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.frx-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Buttons ---------- */
.frx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--frx-font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--frx-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.frx-btn svg { width: 17px; height: 17px; fill: currentColor; }
.frx-btn--primary { background: var(--frx-indigo); color: #fff; }
.frx-btn--primary:hover {
  background: var(--frx-indigo-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--frx-shadow-sm);
}
.frx-btn--accent { background: var(--frx-magenta); color: #fff; }
.frx-btn--accent:hover {
  background: var(--frx-magenta-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--frx-shadow-sm);
}
.frx-btn--ghost { background: transparent; border-color: var(--frx-line-strong); color: var(--frx-ink); }
.frx-btn--ghost:hover { border-color: var(--frx-indigo); color: var(--frx-indigo-deep); transform: translateY(-2px); }
.frx-btn--light { background: #fff; color: var(--frx-navy); }
.frx-btn--light:hover { background: var(--frx-tint); color: var(--frx-navy); transform: translateY(-2px); }
.frx-btn--block { width: 100%; justify-content: center; }

/* ---------- Kickers, rules, titles ---------- */
.frx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--frx-indigo-deep);
}
.frx-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--frx-magenta);
}
.frx-rule {
  width: 58px;
  height: 3px;
  background: var(--frx-magenta);
  border-radius: 2px;
  margin-top: 18px;
}
.frx-head { max-width: 720px; margin-bottom: 46px; }
.frx-head--center { margin-inline: auto; text-align: center; }
.frx-head--center .frx-rule { margin-inline: auto; }
.frx-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 700;
  margin: 12px 0 0;
}
.frx-lead { font-size: 1.08rem; color: var(--frx-text); }

/* ---------- Sections ---------- */
.frx-section { padding: var(--frx-section) 0; }
.frx-section--tint { background: var(--frx-tint); }
.frx-section--tight { padding: 68px 0; }

/* ---------- Hero ---------- */
.frx-hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% -10%, rgba(79, 95, 205, 0.12), transparent 42%),
    radial-gradient(circle at 6% 108%, rgba(254, 4, 103, 0.08), transparent 40%),
    var(--frx-surface);
}
.frx-hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 58px;
  align-items: center;
}
.frx-hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.024em;
  margin: 16px 0 20px;
}
.frx-hero h1 .frx-underline {
  box-shadow: inset 0 -0.16em 0 rgba(254, 4, 103, 0.3);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.frx-hero__lead { font-size: 1.1rem; max-width: 50ch; }
.frx-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.frx-hero__media { position: relative; }
.frx-hero__frame {
  position: relative;
  border-radius: var(--frx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--frx-line);
  box-shadow: var(--frx-shadow);
  background: #fff;
}
.frx-hero__frame img { width: 100%; aspect-ratio: 11 / 10; object-fit: cover; }
.frx-hero__badge {
  position: absolute;
  left: -26px;
  bottom: 30px;
  background: var(--frx-navy);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--frx-radius-lg);
  box-shadow: var(--frx-shadow);
  max-width: 220px;
}
.frx-hero__badge b { font-family: var(--frx-font-display); font-size: 1.5rem; display: block; line-height: 1; }
.frx-hero__badge span { font-size: 0.8rem; color: #c9c9e8; letter-spacing: 0.04em; }
.frx-hero__dots {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--frx-indigo) 1.6px, transparent 1.6px);
  background-size: 15px 15px;
  opacity: 0.28;
  z-index: -1;
}

/* ---------- Stats strip ---------- */
.frx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  overflow: hidden;
  background: #fff;
}
.frx-stat { padding: 26px 28px; border-right: 1px solid var(--frx-line); }
.frx-stat:last-child { border-right: 0; }
.frx-stat b {
  display: block;
  font-family: var(--frx-font-display);
  font-size: 1.7rem;
  color: var(--frx-navy);
  line-height: 1;
  margin-bottom: 8px;
}
.frx-stat span { font-size: 0.9rem; color: var(--frx-muted); }

/* ---------- Steps ---------- */
.frx-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.frx-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.frx-step:hover {
  border-color: var(--frx-line-strong);
  box-shadow: var(--frx-shadow-sm);
  transform: translateY(-3px);
}
.frx-step__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--frx-navy);
  color: #fff;
  font-family: var(--frx-font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.frx-step:nth-child(even) .frx-step__num { background: var(--frx-magenta); }
.frx-step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.frx-step p { font-size: 0.95rem; margin: 0; }

/* ---------- Split (about) ---------- */
.frx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.frx-split__media { position: relative; }
.frx-split__media img {
  width: 100%;
  border-radius: var(--frx-radius-lg);
  border: 1px solid var(--frx-line);
  aspect-ratio: 11 / 10;
  object-fit: cover;
}
.frx-split__accent {
  position: absolute;
  right: -16px;
  top: -16px;
  width: 96px;
  height: 96px;
  border: 3px solid var(--frx-magenta);
  border-radius: var(--frx-radius-lg);
  z-index: -1;
}
.frx-list { list-style: none; padding: 0; margin: 22px 0 0; }
.frx-list li { position: relative; padding-left: 30px; margin: 12px 0; }
.frx-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--frx-magenta);
  border-radius: 1px;
}

/* ---------- Highlight band ---------- */
.frx-highlight {
  position: relative;
  overflow: hidden;
  background: var(--frx-navy);
  color: #d9d9ef;
  border-radius: var(--frx-radius-lg);
  padding: 52px;
}
.frx-highlight::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border: 34px solid rgba(254, 4, 103, 0.18);
  border-radius: 50%;
}
.frx-highlight h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.frx-highlight p { color: #d2d2ea; font-size: 1.05rem; max-width: 68ch; }
.frx-highlight .frx-kicker { color: #b6bcff; }
.frx-highlight .frx-kicker::before { background: var(--frx-magenta); }

/* ---------- Post cards ---------- */
.frx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.frx-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.frx-post:hover { border-color: var(--frx-line-strong); box-shadow: var(--frx-shadow-sm); transform: translateY(-4px); }
.frx-post__fig {
  position: relative;
  height: 152px;
  background:
    linear-gradient(135deg, rgba(79,95,205,0.14), rgba(254,4,103,0.10)),
    var(--frx-tint);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.frx-post__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18,17,71,0.12) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.7;
}
.frx-post__fig b {
  position: relative;
  z-index: 1;
  font-family: var(--frx-font-display);
  font-size: 2.4rem;
  color: rgba(18,17,71,0.28);
  line-height: 1;
}
.frx-post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.frx-post__cat {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frx-indigo-deep);
  background: var(--frx-tint-deep);
  padding: 5px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.frx-post h3 { font-size: 1.16rem; margin-bottom: 10px; }
.frx-post h3 a { color: var(--frx-ink); }
.frx-post h3 a:hover { color: var(--frx-indigo-deep); }
.frx-post p { font-size: 0.92rem; color: var(--frx-muted); margin-bottom: 18px; }
.frx-post__more {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--frx-indigo-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.frx-post__more::after { content: "\2192"; transition: transform 0.2s ease; }
.frx-post:hover .frx-post__more::after { transform: translateX(4px); }

/* ---------- Testimonials ---------- */
.frx-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.frx-quote {
  background: #fff;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.frx-quote__mark {
  font-family: var(--frx-font-display);
  font-size: 2.6rem;
  line-height: 0.7;
  color: var(--frx-magenta);
  margin-bottom: 10px;
}
.frx-quote blockquote { margin: 0 0 22px; font-size: 0.96rem; color: var(--frx-text); }
.frx-quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.frx-mono {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--frx-navy);
  color: #fff;
  font-family: var(--frx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}
.frx-quote__who b { display: block; color: var(--frx-ink); font-size: 0.95rem; }
.frx-quote__who small { color: var(--frx-muted); font-size: 0.82rem; }

/* ---------- CTA band ---------- */
.frx-cta { background: var(--frx-navy); color: #d9d9ef; position: relative; overflow: hidden; }
.frx-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(79, 95, 205, 0.28);
}
.frx-cta__grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.frx-cta h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 10px; }
.frx-cta p { color: #c8c8e4; margin: 0; }
.frx-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page header (inner) ---------- */
.frx-pagehead {
  background:
    radial-gradient(circle at 92% 120%, rgba(79, 95, 205, 0.14), transparent 46%),
    var(--frx-tint);
  border-bottom: 1px solid var(--frx-line);
  padding: 58px 0 54px;
}
.frx-crumb { font-size: 0.86rem; color: var(--frx-muted); margin-bottom: 18px; }
.frx-crumb a { color: var(--frx-muted); }
.frx-crumb a:hover { color: var(--frx-indigo-deep); }
.frx-crumb span { color: var(--frx-ink); }
.frx-crumb .sep { margin: 0 8px; color: var(--frx-line-strong); }
.frx-pagehead h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 10px 0 0; font-weight: 700; }
.frx-pagehead p { margin-top: 16px; font-size: 1.08rem; max-width: 62ch; }

/* ---------- Prose ---------- */
.frx-prose { max-width: 72ch; }
.frx-prose.frx-measure { margin-inline: auto; }
.frx-prose h2 { font-size: 1.55rem; margin: 2em 0 0.55em; }
.frx-prose h3 { font-size: 1.2rem; margin: 1.7em 0 0.5em; }
.frx-prose p { margin: 0 0 1.2em; }
.frx-prose ul, .frx-prose ol { margin: 0 0 1.3em; padding-left: 22px; }
.frx-prose li { margin: 9px 0; }
.frx-prose a { text-decoration: underline; text-underline-offset: 2px; }
.frx-prose img { border-radius: var(--frx-radius-lg); margin: 1.6em 0; }

/* ---------- Article layout ---------- */
.frx-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 56px;
  align-items: start;
}

/* ---------- Global content + sticky sidebar ---------- */
.frx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 56px;
  align-items: start;
}
.frx-content {
  min-width: 0;
  display: grid;
  gap: 56px;
}
.frx-sidebar {
  position: sticky;
  top: calc(var(--frx-nav-h) + 22px);
  display: grid;
  gap: 20px;
  align-self: start;
}
.frx-layout .frx-split { grid-template-columns: 1fr; }
.frx-layout .frx-posts { grid-template-columns: repeat(2, 1fr); }
.frx-layout .frx-quotes { grid-template-columns: 1fr; }
.frx-layout .frx-contact { grid-template-columns: 1fr; }
.frx-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--frx-muted);
  font-size: 0.88rem;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--frx-line);
}
.frx-article__meta b { color: var(--frx-ink); font-weight: 600; }
.frx-aside { position: sticky; top: calc(var(--frx-nav-h) + 22px); display: grid; gap: 20px; }
.frx-panel {
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  padding: 26px;
  background: #fff;
}
.frx-panel h3 {
  font-family: var(--frx-font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frx-muted);
  margin-bottom: 14px;
}
.frx-panel ul { list-style: none; padding: 0; margin: 0; }
.frx-panel li { border-bottom: 1px dashed var(--frx-line); }
.frx-panel li:last-child { border-bottom: 0; }
.frx-panel li a { display: block; padding: 9px 0; font-size: 0.92rem; }
.frx-panel .frx-checklist li {
  position: relative;
  border-bottom: 0;
  padding: 7px 0 7px 24px;
  font-size: 0.92rem;
  color: var(--frx-text);
}
.frx-panel .frx-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--frx-indigo);
  border-radius: 2px;
}
.frx-panel--navy { background: var(--frx-navy); border-color: var(--frx-navy); color: #cfd0ea; }
.frx-panel--navy h3 { color: #a9aee8; }
.frx-panel--navy a { color: #e7e7f7; }
.frx-panel--navy a:hover { color: #fff; }
.frx-panel--navy p { color: #c3c3df; font-size: 0.92rem; }
.frx-panel--navy a.frx-btn--light,
.frx-panel--navy a.frx-btn--light:hover { color: var(--frx-navy); }

.frx-ext::after {
  content: "\2197";
  font-size: 0.72em;
  margin-left: 4px;
  color: var(--frx-magenta);
  vertical-align: super;
}

/* ---------- Numbered cards ---------- */
.frx-numbered { display: grid; gap: 16px; }
.frx-num {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.frx-num:hover { border-color: var(--frx-line-strong); box-shadow: var(--frx-shadow-sm); }
.frx-num__badge {
  font-family: var(--frx-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--frx-magenta);
  min-width: 40px;
}
.frx-num h3 { font-size: 1.12rem; margin-bottom: 6px; }
.frx-num p { font-size: 0.95rem; margin: 0; }

/* ---------- Cards general ---------- */
.frx-card {
  background: #fff;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  padding: 30px;
}
.frx-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.frx-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: start; }
.frx-info { display: grid; gap: 8px; }
.frx-info__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--frx-line);
}
.frx-info__row:first-child { padding-top: 0; }
.frx-info__ico {
  width: 42px; height: 42px;
  border-radius: var(--frx-radius);
  background: var(--frx-tint-deep);
  color: var(--frx-indigo-deep);
  display: grid; place-items: center;
}
.frx-info__ico svg { width: 20px; height: 20px; fill: currentColor; }
.frx-info__row b { display: block; color: var(--frx-ink); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.frx-info__row a, .frx-info__row span { color: var(--frx-text); }
.frx-socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.frx-socials a {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--frx-line-strong);
  border-radius: 2px;
  color: var(--frx-ink);
}
.frx-socials a:hover { border-color: var(--frx-indigo); color: var(--frx-indigo-deep); }

.frx-form-card {
  background: #fff;
  border: 1px solid var(--frx-line);
  border-radius: var(--frx-radius-lg);
  padding: 34px;
  box-shadow: var(--frx-shadow-sm);
}
.frx-form { display: grid; gap: 16px; }
.frx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frx-field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--frx-ink); margin-bottom: 7px; }
.frx-req { color: var(--frx-magenta); }
.frx-input, .frx-textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--frx-ink);
  background: #fff;
  border: 1px solid var(--frx-line-strong);
  border-radius: var(--frx-radius);
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.frx-textarea { min-height: 148px; resize: vertical; }
.frx-input:focus, .frx-textarea:focus {
  outline: none;
  border-color: var(--frx-indigo);
  box-shadow: 0 0 0 3px rgba(79, 95, 205, 0.16);
}
.frx-input[aria-invalid="true"], .frx-textarea[aria-invalid="true"] { border-color: var(--frx-magenta); }
.frx-err { display: none; color: var(--frx-magenta-deep); font-size: 0.82rem; margin-top: 6px; }
.frx-err.is-shown { display: block; }
.frx-form__note { font-size: 0.82rem; color: var(--frx-muted); margin: 0; }
.frx-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(79, 95, 205, 0.35);
  background: var(--frx-tint);
  border-radius: var(--frx-radius);
  color: var(--frx-ink);
}
.frx-success.is-shown { display: flex; }
.frx-success b { display: block; margin-bottom: 2px; }
.frx-success svg { width: 22px; height: 22px; fill: var(--frx-indigo-deep); flex: none; }

/* ---------- Footer ---------- */
.frx-footer { background: var(--frx-navy); color: #c2c3e0; padding: 66px 0 26px; }
.frx-footer a { color: #cdcfe9; }
.frx-footer a:hover { color: #fff; }
.frx-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 46px; }
.frx-brand-footer { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.frx-brand-footer__chip { background: #fff; border-radius: var(--frx-radius-lg); padding: 7px; }
.frx-brand-footer__chip img { height: 36px; width: auto; }
.frx-brand-footer b { font-family: var(--frx-font-display); color: #fff; font-size: 1.15rem; }
.frx-brand-footer small { display: block; color: #a9aae0; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.frx-footer__blurb { font-size: 0.92rem; color: #b4b5da; max-width: 34ch; }
.frx-footer h4 {
  font-family: var(--frx-font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fa1d6;
  margin-bottom: 16px;
}
.frx-flinks { list-style: none; padding: 0; margin: 0; }
.frx-flinks li { margin: 10px 0; }
.frx-flinks a { font-size: 0.93rem; }
.frx-footer__contact p { font-size: 0.93rem; color: #b4b5da; margin: 0 0 12px; }
.frx-footer__contact b { color: #dfe0f2; font-weight: 600; }
.frx-footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: #9b9ccb;
}
.frx-footer__bottom a { color: #b9badf; }

/* ---------- Reveal (only when JS is present; content stays visible without it) ---------- */
.frx-reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
html.frx-js .frx-reveal { opacity: 0; transform: translateY(18px); }
html.frx-js .frx-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.frx-404 { text-align: center; padding: 120px 0; }
.frx-404 b { font-family: var(--frx-font-display); font-size: clamp(4rem, 12vw, 8rem); color: var(--frx-indigo); line-height: 1; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .frx-nav { display: none; }
  .frx-burger { display: flex; }
  .frx-hero__grid,
  .frx-split,
  .frx-contact,
  .frx-article-grid { grid-template-columns: 1fr; }
  .frx-article-grid { gap: 40px; }
  .frx-layout { grid-template-columns: 1fr; gap: 40px; }
  .frx-sidebar, .frx-aside { position: static; }
  .frx-hero__badge { left: auto; right: 16px; bottom: 16px; }
  .frx-hero__dots { display: none; }
  .frx-footer__grid { grid-template-columns: 1fr 1fr; }
  .frx-posts, .frx-quotes { grid-template-columns: repeat(2, 1fr); }
  .frx-split__accent { display: none; }
}

@media (max-width: 680px) {
  :root { --frx-section: 66px; }
  .frx-wrap, .frx-header__inner { padding-inline: 20px; }
  .frx-hero { padding: 52px 0 60px; }
  .frx-steps, .frx-posts, .frx-quotes, .frx-stats,
  .frx-form__grid, .frx-footer__grid { grid-template-columns: 1fr; }
  .frx-content { gap: 44px; }
  .frx-layout .frx-posts { grid-template-columns: 1fr; }
  .frx-stat { border-right: 0; border-bottom: 1px solid var(--frx-line); }
  .frx-stat:last-child { border-bottom: 0; }
  .frx-hero__actions { flex-direction: column; align-items: stretch; }
  .frx-hero__actions .frx-btn { justify-content: center; }
  .frx-highlight { padding: 34px 26px; }
  .frx-form-card { padding: 24px; }
  .frx-cta__grid { flex-direction: column; align-items: flex-start; }
  .frx-cta__actions { width: 100%; }
  .frx-cta__actions .frx-btn { flex: 1; justify-content: center; }
  .frx-hero__badge { max-width: 170px; padding: 14px 16px; }
  .frx-hero__badge b { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.frx-js .frx-reveal { opacity: 1 !important; transform: none !important; }
}
