html {
  overflow-x: hidden;
  min-height: 100%;
  min-height: 100dvh;
  background: #0a1c33;
}

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

body.fn-body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #1a2433;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  background: #f7f2e8;
  overflow-x: visible;
}

body.fn-body > .fn-sticky {
  flex-shrink: 0;
}

body.fn-body > main {
  flex: 1 0 auto;
  width: 100%;
}

body.fn-body > .fn-foot {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}

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

a {
  color: #8a6a12;
  text-decoration: none;
}

a:hover {
  color: #0c2340;
}

.fn-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.fn-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid rgba(12, 35, 64, 0.1);
  backdrop-filter: blur(8px);
}

/* activity-bar.css pulls main up — disable that for the fn layout */
.index-page #main-content {
  margin-top: 0 !important;
}

.index-page .main {
  padding-top: 0 !important;
}

.fn-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.fn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0c2340;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.fn-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.fn-nav {
  display: flex;
  gap: 28px;
}

.fn-nav a {
  color: #0c2340;
  font-weight: 600;
  font-size: 0.95rem;
}

.fn-top__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fn-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(12, 35, 64, 0.2);
  background: #fff;
  color: #0c2340;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
}

.fn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: #0c2340;
  color: #f7f2e8;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.fn-btn:hover {
  background: #163a5f;
  color: #fff;
}

.fn-btn--gold {
  background: linear-gradient(180deg, #d4af37, #b8860b);
  color: #0c2340;
}

.fn-btn--gold:hover {
  filter: brightness(1.05);
  color: #0c2340;
}

.fn-btn--line {
  background: transparent;
  color: #0c2340;
  border: 1px solid rgba(12, 35, 64, 0.28);
}

.fn-activity {
  padding: 6px 0 10px;
  border-top: 1px solid rgba(12, 35, 64, 0.06);
}

#mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 35, 64, 0.55);
}

#mob-menu.is-open {
  display: block;
}

body.fn-body > #mob-menu {
  flex: none;
  order: 99;
}

.fn-drawer {
  width: min(300px, 88vw);
  height: 100%;
  margin-left: auto;
  background: #f7f2e8;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fn-drawer a {
  color: #0c2340;
  font-weight: 700;
  font-size: 1.05rem;
}

/* —— HERO: mock left / form right, asymmetric —— */
.fn-hero {
  padding: 36px 0 56px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(165deg, #f7f2e8 0%, #ebe4d4 100%);
  scroll-margin-top: 130px;
}

.fn-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.fn-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6a12;
}

.fn-hero h1 {
  margin: 0 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  color: #0c2340;
}

.fn-lead {
  margin: 0 0 20px;
  max-width: 38ch;
  color: #3d4a5c;
  font-size: 1.05rem;
}

.fn-facts {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 28px;
  margin-bottom: 22px;
  width: fit-content;
}

.fn-fact strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: #0c2340;
}

.fn-fact span {
  font-size: 0.8rem;
  color: #5a6878;
}

/* —— Unique CSS mocks (no window-chrome / ledger / bar-chart pattern) —— */

.fn-viz {
  position: relative;
}

/* Hero: ring gauge + allocation wedges */
.fn-gauge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #0c2340;
  border-radius: 8px 50% 8px 8px;
  color: #f7f2e8;
  min-height: 240px;
}

.fn-gauge__ring {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(#d4af37 0 72%, #1ec9a0 72% 88%, rgba(247, 242, 232, 0.15) 88% 100%);
  display: grid;
  place-items: center;
  mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
}

.fn-gauge__core {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #0c2340;
  display: grid;
  place-items: center;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.fn-gauge__wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.fn-gauge__wrap .fn-gauge__ring {
  position: absolute;
  inset: 0;
}

.fn-gauge__core strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.fn-gauge__core span {
  font-size: 0.68rem;
  opacity: 0.7;
}

.fn-gauge__cols {
  display: grid;
  gap: 10px;
}

.fn-gauge__cols b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  color: #d4af37;
}

.fn-gauge__cols span {
  font-size: 0.78rem;
  color: #c5c0b4;
}

/* Orbit — concentric rings */
.fn-orbit {
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(12, 35, 64, 0.15);
  background:
    radial-gradient(circle at 50% 50%, transparent 28%, rgba(212, 175, 55, 0.25) 29%, transparent 30%),
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(12, 35, 64, 0.12) 49%, transparent 50%),
    radial-gradient(circle at 50% 50%, transparent 68%, rgba(12, 35, 64, 0.18) 69%, transparent 70%),
    #fff;
  position: relative;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.08);
}

.fn-orbit__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.fn-orbit__dot:nth-child(1) { top: 18%; left: 62%; }
.fn-orbit__dot:nth-child(2) { top: 55%; left: 18%; background: #0c2340; }
.fn-orbit__dot:nth-child(3) { bottom: 16%; right: 22%; background: #1a7a4c; }
.fn-orbit__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  color: #0c2340;
  padding: 20%;
  line-height: 1.25;
}

/* Horizontal meters */
.fn-meters {
  padding: 22px;
  background: #fff;
  border-left: 6px solid #d4af37;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 12px 32px rgba(12, 35, 64, 0.07);
  display: grid;
  gap: 14px;
}

.fn-meters__row {
  display: grid;
  gap: 6px;
}

.fn-meters__row span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0c2340;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fn-meters__track {
  height: 8px;
  border-radius: 99px;
  background: #ebe4d4;
  overflow: hidden;
}

.fn-meters__fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0c2340, #d4af37);
}

/* Wave line panel */
.fn-wave {
  padding: 24px 20px 18px;
  background: linear-gradient(180deg, #f7f2e8, #fff);
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 8px;
}

.fn-wave__svg {
  width: 100%;
  height: 100px;
  display: block;
}

.fn-wave__cap {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #5a6878;
}

/* Clock / 24h dial */
.fn-clock {
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(
      from -90deg,
      #d4af37 0 40deg,
      transparent 40deg 100deg,
      #0c2340 100deg 160deg,
      transparent 160deg 250deg,
      #1a7a4c 250deg 300deg,
      transparent 300deg 360deg
    );
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px rgba(12, 35, 64, 0.12);
}

.fn-clock__inner {
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f7f2e8;
  display: grid;
  place-items: center;
  text-align: center;
  color: #0c2340;
}

.fn-clock__inner strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.fn-clock__inner span {
  font-size: 0.75rem;
  color: #5a6878;
}

/* Typographic plate — expert */
.fn-plate {
  padding: 28px 24px;
  background: #fff;
  border-top: 3px solid #d4af37;
  border-bottom: 3px solid #0c2340;
  font-family: "Fraunces", Georgia, serif;
}

.fn-plate__mark {
  font-size: 2.4rem;
  line-height: 1;
  color: #d4af37;
}

.fn-plate p {
  margin: 8px 0 0;
  font-size: 1.15rem;
  color: #0c2340;
  line-height: 1.35;
}

.fn-plate small {
  display: block;
  margin-top: 14px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6a12;
}

/* Stamp seal for about */
.fn-seal {
  width: min(220px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px double #0c2340;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #0c2340;
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.2), transparent 60%);
  font-family: "Fraunces", Georgia, serif;
}

.fn-seal strong {
  display: block;
  font-size: 1.4rem;
}

.fn-seal span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a12;
}

/* Allocation chips */
.fn-chips-viz {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 20px;
  background: #ebe4d4;
  border-radius: 8px;
}

.fn-chips-viz span {
  padding: 10px 14px;
  background: #fff;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0c2340;
  border: 1px solid rgba(12, 35, 64, 0.1);
}

.fn-card {
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 6px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.07);
}

.fn-card h2,
.fn-form-title {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: #0c2340;
}

.fn-form-note {
  margin: 0 0 14px;
  color: #5a6878;
  font-size: 0.88rem;
}

.fn-form {
  position: relative;
  display: grid;
  gap: 10px;
}

.fn-field input,
.fn-field textarea,
.fn-contact input,
.fn-contact textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #cfc6b4;
  border-radius: 4px;
  background: #faf7f1;
  color: #1a2433;
  font: inherit;
}

.fn-contact textarea {
  min-height: 140px;
  padding-top: 12px;
  resize: vertical;
}

.fn-form .fn-btn {
  width: 100%;
}

.fn-legal {
  margin: 12px 0 0;
  color: #5a6878 !important;
  font-size: 0.74rem;
}

.fn-legal a {
  color: #8a6a12;
  text-decoration: underline;
}

/* sections */
.fn-sec {
  padding: 64px 0;
}

.fn-sec--ink {
  background: #0c2340;
  color: #e8e4da;
}

.fn-sec--ink h2,
.fn-sec--ink h3 {
  color: #f7f2e8;
}

.fn-sec--ink p {
  color: #c5c0b4;
}

.fn-sec--paper {
  background: #fff;
}

.fn-sec--sand {
  background: #ebe4d4;
}

.fn-head {
  margin: 0 0 28px;
  max-width: 40rem;
}

.fn-head h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  color: #0c2340;
}

.fn-sec--ink .fn-head h2 {
  color: #f7f2e8;
}

/* Editorial zigzag — different from dashboard split */
.fn-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}

.fn-edit--rev {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.fn-edit--rev .fn-edit__copy {
  order: 2;
}

.fn-edit--rev .fn-edit__viz {
  order: 1;
}

/* Vertical timeline accordion */
.fn-rail {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid #d4af37;
  display: grid;
  gap: 8px;
}

.fn-rail details {
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
}

.fn-rail summary {
  cursor: pointer;
  font-weight: 700;
  color: #0c2340;
  list-style: none;
}

.fn-rail summary::-webkit-details-marker {
  display: none;
}

.fn-rail p {
  margin: 10px 0 0;
  color: #3d4a5c;
}

/* Horizontal strip cards — intelligence */
.fn-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(12, 35, 64, 0.12);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.fn-strip article {
  padding: 22px 20px;
  border-right: 1px solid rgba(12, 35, 64, 0.1);
}

.fn-strip article:last-child {
  border-right: 0;
}

.fn-strip__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8860b;
}

.fn-strip h3 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  color: #0c2340;
}

.fn-strip p {
  margin: 0;
  color: #3d4a5c;
  font-size: 0.94rem;
}

/* Principles as numbered list, not card grid */
.fn-rules {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.fn-rules__intro {
  padding: 24px 28px;
  background: #0c2340;
  color: #e8e4da;
}

.fn-rules__intro h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  color: #f7f2e8;
}

.fn-rules__intro p {
  margin: 0 0 10px;
  color: #c5c0b4;
}

.fn-rules__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fn-rules__list article {
  padding: 20px 24px;
  border-top: 1px solid rgba(12, 35, 64, 0.08);
  border-right: 1px solid rgba(12, 35, 64, 0.08);
}

.fn-rules__list article:nth-child(2n) {
  border-right: 0;
}

.fn-rules__list h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #0c2340;
}

.fn-rules__list p {
  margin: 0;
  color: #3d4a5c;
  font-size: 0.92rem;
}

/* Tools as stacked rows with gold index */
.fn-tools {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.fn-tool {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(12, 35, 64, 0.1);
}

.fn-tool:last-child {
  border-bottom: 0;
}

.fn-tool__n {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  color: #b8860b;
  line-height: 1;
}

/* Bento metrics — asymmetric 2×3 */
.fn-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fn-bento__item {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 6px;
}

.fn-bento__item:first-child {
  grid-column: span 2;
  background: #0c2340;
  color: #e8e4da;
  border-color: transparent;
}

.fn-bento__item:first-child p {
  color: #c5c0b4;
}

.fn-bento__item p {
  margin: 0;
  color: #3d4a5c;
  font-size: 0.95rem;
}

/* Expert band */
.fn-band {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(120deg, #fff 60%, #ebe4d4);
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 6px;
}

/* Reviews — stacked magazine */
.seo-reviews {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.seo-review {
  margin: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border-left: 4px solid #d4af37;
  border-radius: 0 6px 6px 0;
}

.seo-review__rating {
  color: #b8860b;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.seo-review__body {
  margin: 0 0 8px;
  color: #3d4a5c;
}

.seo-review__author {
  color: #0c2340;
  font-weight: 700;
}

.fn-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

/* FAQ */
.seo-faq {
  max-width: 680px;
  margin: 0 auto;
}

.seo-faq__item {
  border-bottom: 1px solid rgba(12, 35, 64, 0.12);
  padding: 6px 0;
}

.seo-faq__question {
  cursor: pointer;
  font-weight: 700;
  color: #0c2340;
  list-style: none;
  padding: 10px 0;
}

.seo-faq__question::-webkit-details-marker {
  display: none;
}

.seo-faq__question::after {
  content: "+";
  float: right;
  color: #b8860b;
  font-weight: 700;
}

.seo-faq__item[open] .seo-faq__question::after {
  content: "–";
}

.seo-faq__answer {
  max-height: 220px;
  overflow: auto;
  margin: 0 0 14px;
  color: #3d4a5c;
}

/* Highlights — ticker table */
.fn-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(12, 35, 64, 0.1);
}

.fn-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
  vertical-align: top;
}

.fn-table tr:last-child td {
  border-bottom: 0;
}

.fn-table strong {
  color: #0c2340;
}

.fn-table .fn-emoji {
  width: 2.5rem;
  text-align: center;
  font-size: 1.2rem;
}

/* Join / form-main */
.fn-join {
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse 50% 60% at 10% 50%, rgba(212, 175, 55, 0.2), transparent 60%),
    #0c2340;
  color: #e8e4da;
}

.fn-join__inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: 36px;
  align-items: start;
}

.fn-join h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #f7f2e8;
}

.fn-join p {
  color: #c5c0b4;
}

.fn-join .fn-card {
  background: #fff;
  color: #1a2433;
}

.fn-join .fn-form-title {
  color: #0c2340;
}

/* Footer */
.fn-foot {
  padding: 28px 0 36px;
  background: #0a1c33;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.fn-foot__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.fn-foot .fn-brand {
  color: #f7f2e8;
}

.fn-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.fn-foot a {
  color: #c5c0b4;
  font-size: 0.88rem;
}

/* Inner pages */
.fn-page {
  padding: 40px 0 72px;
  background: #f7f2e8;
  color: #1a2433;
}

.fn-crumb {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.85rem;
}

.fn-crumb a {
  color: #8a6a12;
}

.fn-page h1 {
  margin: 0 0 24px;
  font-family: "Fraunces", Georgia, serif;
  color: #0c2340;
}

.fn-about-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.fn-about-card {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 6px;
}

.fn-about-card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  color: #0c2340;
}

.fn-about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 32px 0;
}

.fn-legal-doc {
  background: #fff;
  padding: 28px;
  border-radius: 6px;
  border: 1px solid rgba(12, 35, 64, 0.1);
}

.fn-legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
}

.fn-legal-doc td {
  border: 1px solid #cfc6b4;
  padding: 8px 10px;
  vertical-align: top;
}

.fn-contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
}

.fn-map {
  margin-top: 28px;
}

.fn-map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 6px;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(12, 35, 64, 0.55);
  align-items: center;
  justify-content: center;
}

.popup-content {
  width: min(480px, calc(100% - 32px));
  background: #fff;
  color: #1a2433;
  padding: 24px;
  border-radius: 6px;
}

.fn-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fn-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .fn-nav,
  .fn-top__actions .fn-btn {
    display: none;
  }

  .fn-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .fn-hero__grid,
  .fn-edit,
  .fn-edit--rev,
  .fn-strip,
  .fn-rules__list,
  .fn-bento,
  .fn-band,
  .fn-join__inner,
  .fn-about-duo,
  .fn-about-row,
  .fn-contact-grid,
  .fn-gauge {
    grid-template-columns: 1fr;
  }

  .fn-edit--rev .fn-edit__copy,
  .fn-edit--rev .fn-edit__viz {
    order: unset;
  }

  .fn-bento__item:first-child {
    grid-column: auto;
  }

  .fn-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(12, 35, 64, 0.1);
  }

  .fn-strip article:last-child {
    border-bottom: 0;
  }

  .fn-rules__list article {
    border-right: 0;
  }

  .seo-review {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fn-wrap {
    width: calc(100% - 28px);
  }

  .fn-facts {
    grid-template-columns: 1fr 1fr;
  }
}
