/* Fnolwise — fnw.css
   Hartford institutional insurance palette
   Playfair Display (headings) + Inter (body) + JetBrains Mono (code)
*/

/* ─────────────────────────────────────────────
   Custom Properties
───────────────────────────────────────────── */
:root {
  --fnw-navy:      #1A2B4A;
  --fnw-navy-deep: #111E35;
  --fnw-white:     #F7F6F3;
  --fnw-oxblood:   #8B1A2B;
  --fnw-brass:     #B8922A;
  --fnw-charcoal:  #1C1F2E;
  --fnw-slate:     #5A6478;
  --fnw-linen:     #DDD8CF;
  --fnw-linen-lt:  #EDEAE4;

  --fnw-radius:    4px;
  --fnw-shadow:    0 2px 12px rgba(26, 43, 74, 0.10);
  --fnw-shadow-md: 0 4px 24px rgba(26, 43, 74, 0.14);

  --fnw-max-w:     1200px;
  --fnw-content-w: 800px;

  --fnw-section-v:    80px;
  --fnw-section-v-sm: 56px;

  --fnw-font-head: 'Playfair Display', Georgia, serif;
  --fnw-font-body: 'Inter', system-ui, sans-serif;
  --fnw-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ─────────────────────────────────────────────
   Reset & Base
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--fnw-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fnw-charcoal);
  background: var(--fnw-white);
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--fnw-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--fnw-oxblood);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fnw-font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fnw-navy);
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

code, pre {
  font-family: var(--fnw-font-mono);
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────
   Layout Utilities
───────────────────────────────────────────── */
.fnw-container {
  max-width: var(--fnw-max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.fnw-content-container {
  max-width: var(--fnw-content-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.fnw-section {
  padding-block: var(--fnw-section-v);
}

/* CMS integration trust band (light-linen strip between hero and capabilities) */
.fnw-trust {
  background: var(--fnw-linen-lt);
  border-top: 1px solid var(--fnw-linen);
  border-bottom: 1px solid var(--fnw-linen);
  padding-block: 28px;
}

.fnw-trust__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
  text-align: center;
}

.fnw-trust__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fnw-charcoal);
  margin: 0 0 14px;
  opacity: 0.65;
}

.fnw-trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 32px;
}

.fnw-trust__logo-item {
  font-family: var(--fnw-font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fnw-navy);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .fnw-trust__logos { gap: 10px 20px; }
  .fnw-trust__logo-item { font-size: 0.92rem; }
}

.fnw-section--sm {
  padding-block: var(--fnw-section-v-sm);
}

.fnw-section--navy {
  background: var(--fnw-navy);
  color: var(--fnw-white);
}

.fnw-section--navy h1,
.fnw-section--navy h2,
.fnw-section--navy h3 {
  color: #fff;
}

.fnw-section--oxblood {
  background: var(--fnw-oxblood);
  color: #fff;
}

.fnw-section--oxblood h1,
.fnw-section--oxblood h2,
.fnw-section--oxblood h3 {
  color: #fff;
}

.fnw-section--light {
  background: var(--fnw-white);
}

.fnw-section--linen {
  background: var(--fnw-linen-lt);
}

/* ─────────────────────────────────────────────
   Navigation
───────────────────────────────────────────── */
.fnw-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fnw-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fnw-nav__inner {
  max-width: var(--fnw-max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.fnw-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.fnw-nav__logo-img {
  height: clamp(28px, 3.5vw, 36px);
  width: auto;
}

.fnw-nav__wordmark {
  font-family: var(--fnw-font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.fnw-nav__wordmark span {
  color: var(--fnw-brass);
}

.fnw-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fnw-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--fnw-radius);
  transition: color 0.2s, background 0.2s;
}

.fnw-nav__links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.fnw-nav__dropdown {
  position: relative;
}

.fnw-nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--fnw-radius);
  transition: color 0.2s, background 0.2s;
  background: none;
  border: none;
}

.fnw-nav__dropdown-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.fnw-nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s;
}

.fnw-nav__dropdown:hover .fnw-nav__dropdown-toggle svg,
.fnw-nav__dropdown.open .fnw-nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.fnw-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--fnw-navy-deep);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--fnw-radius);
  box-shadow: var(--fnw-shadow-md);
  padding: 0.4rem 0;
  list-style: none;
}

.fnw-nav__dropdown:hover .fnw-nav__dropdown-menu,
.fnw-nav__dropdown.open .fnw-nav__dropdown-menu {
  display: block;
}

.fnw-nav__dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.fnw-nav__dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body.fnw-page--light-top .fnw-nav__dropdown-menu {
  background: var(--fnw-white);
  border-color: var(--fnw-linen);
}

body.fnw-page--light-top .fnw-nav__dropdown-menu a {
  color: var(--fnw-charcoal);
}

body.fnw-page--light-top .fnw-nav__dropdown-menu a:hover {
  background: var(--fnw-linen-lt);
  color: var(--fnw-navy);
}

.fnw-nav__cta {
  flex-shrink: 0;
}

.fnw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--fnw-radius);
  font-family: var(--fnw-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.fnw-btn--primary {
  background: var(--fnw-oxblood);
  color: #fff;
  border-color: var(--fnw-oxblood);
}

.fnw-btn--primary:hover {
  background: #701523;
  border-color: #701523;
  color: #fff;
}

.fnw-btn--outline {
  background: transparent;
  color: var(--fnw-navy);
  border-color: var(--fnw-navy);
}

.fnw-btn--outline:hover {
  background: var(--fnw-navy);
  color: #fff;
}

.fnw-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.fnw-btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.fnw-btn--ghost-nav {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.fnw-btn--ghost-nav:hover {
  background: var(--fnw-oxblood);
  border-color: var(--fnw-oxblood);
  color: #fff;
}

/* Hamburger */
.fnw-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.fnw-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.fnw-nav__mobile-menu {
  display: none;
  background: var(--fnw-navy-deep);
  padding: 1rem clamp(16px, 4vw, 48px) 1.5rem;
}

.fnw-nav__mobile-menu.open {
  display: block;
}

.fnw-nav__mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fnw-nav__mobile-links li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.fnw-nav__mobile-links a,
.fnw-nav__mobile-links button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.fnw-nav__mobile-links .fnw-nav__mobile-submenu {
  list-style: none;
  padding: 0 0 0.5rem 1rem;
  margin: 0;
}

.fnw-nav__mobile-links .fnw-nav__mobile-submenu a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  padding: 0.4rem 0;
}

.fnw-nav__mobile-cta {
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Light-top nav variant (for blog + legal pages with light body) */
body.fnw-page--light-top .fnw-nav {
  background: var(--fnw-navy);
}

/* ─────────────────────────────────────────────
   Hero Sections
───────────────────────────────────────────── */
.fnw-hero {
  background: var(--fnw-navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.fnw-hero--sm {
  padding: 56px 0 48px;
}

.fnw-hero__inner {
  position: relative;
  z-index: 2;
}

.fnw-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fnw-brass);
  margin-bottom: 1rem;
}

.fnw-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.fnw-hero__sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.7;
}

.fnw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.fnw-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.fnw-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Blog-index hero decoration */
.fnw-hero__deco {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  pointer-events: none;
  opacity: 0.18;
}

/* ─────────────────────────────────────────────
   Breadcrumb
───────────────────────────────────────────── */
.fnw-breadcrumb {
  background: var(--fnw-linen-lt);
  border-bottom: 1px solid var(--fnw-linen);
  padding: 0.625rem 0;
}

.fnw-breadcrumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--fnw-slate);
}

.fnw-breadcrumb__list a {
  color: var(--fnw-slate);
  text-decoration: none;
}

.fnw-breadcrumb__list a:hover {
  color: var(--fnw-navy);
  text-decoration: underline;
}

.fnw-breadcrumb__sep {
  color: var(--fnw-linen);
  font-size: 0.75rem;
}

.fnw-breadcrumb__current {
  color: var(--fnw-charcoal);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   Blog Index
───────────────────────────────────────────── */
.fnw-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.fnw-blog-filter {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--fnw-linen);
  color: var(--fnw-slate);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fnw-blog-filter:hover,
.fnw-blog-filter.active {
  background: var(--fnw-navy);
  color: #fff;
  border-color: var(--fnw-navy);
}

.fnw-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fnw-blog-card {
  background: #fff;
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.fnw-blog-card:hover {
  box-shadow: var(--fnw-shadow-md);
  transform: translateY(-2px);
}

.fnw-blog-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--fnw-navy);
  flex-shrink: 0;
}

.fnw-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fnw-blog-card__body {
  padding: 1.25rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fnw-blog-card__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fnw-oxblood);
  margin-bottom: 0.6rem;
  text-decoration: none;
}

.fnw-blog-card__title {
  font-family: var(--fnw-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fnw-navy);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  text-decoration: none;
  display: block;
}

.fnw-blog-card__title:hover {
  color: var(--fnw-oxblood);
  text-decoration: none;
}

.fnw-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--fnw-slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.fnw-blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid var(--fnw-linen);
  font-size: 0.8rem;
  color: var(--fnw-slate);
}

.fnw-blog-card__date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fnw-blog-card__read {
  font-weight: 500;
  color: var(--fnw-navy);
  text-decoration: none;
  font-size: 0.8rem;
}

.fnw-blog-card__read:hover {
  color: var(--fnw-oxblood);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   Article Page
───────────────────────────────────────────── */
.fnw-article-hero {
  background: var(--fnw-navy);
  padding: 56px 0 48px;
}

.fnw-article-hero h1 {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  color: #fff;
  max-width: 780px;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.fnw-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.fnw-article-hero__cat {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--fnw-oxblood);
  color: #fff;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.fnw-article-cover {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--fnw-radius);
  margin-top: 2.5rem;
  margin-bottom: 0;
  background: var(--fnw-linen);
}

.fnw-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fnw-article__body-wrap {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  padding-block: 3rem 4rem;
}

.fnw-article__body h2 {
  font-size: 1.5rem;
  color: var(--fnw-navy);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.fnw-article__body h3 {
  font-size: 1.2rem;
  color: var(--fnw-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.fnw-article__body p {
  color: var(--fnw-charcoal);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.fnw-article__body ul,
.fnw-article__body ol {
  margin-bottom: 1.25rem;
  color: var(--fnw-charcoal);
}

.fnw-article__body code {
  background: var(--fnw-linen-lt);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.875em;
}

.fnw-article__body blockquote {
  border-left: 3px solid var(--fnw-brass);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--fnw-linen-lt);
  font-style: italic;
  color: var(--fnw-slate);
}

/* Author card */
.fnw-author-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--fnw-linen-lt);
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  margin-top: 2.5rem;
}

.fnw-author-card__avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fnw-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fnw-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.fnw-author-card__info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fnw-navy);
  margin-bottom: 0.2rem;
  font-family: var(--fnw-font-body);
}

.fnw-author-card__info p {
  font-size: 0.8125rem;
  color: var(--fnw-slate);
  margin: 0;
}

/* Related articles */
.fnw-related {
  background: var(--fnw-linen-lt);
  padding-block: var(--fnw-section-v-sm);
  border-top: 1px solid var(--fnw-linen);
}

.fnw-related h2 {
  font-size: 1.25rem;
  color: var(--fnw-navy);
  margin-bottom: 1.5rem;
}

.fnw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fnw-related-card {
  background: #fff;
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.fnw-related-card:hover {
  box-shadow: var(--fnw-shadow);
}

.fnw-related-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--fnw-navy);
}

.fnw-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fnw-related-card__body {
  padding: 1rem 1.125rem 1.25rem;
}

.fnw-related-card__cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fnw-oxblood);
  display: block;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.fnw-related-card__title {
  font-family: var(--fnw-font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fnw-navy);
  text-decoration: none;
  display: block;
  line-height: 1.35;
}

.fnw-related-card__title:hover {
  color: var(--fnw-oxblood);
}

.fnw-related-card__date {
  display: block;
  font-size: 0.78rem;
  color: var(--fnw-slate);
  margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────
   Legal Pages
───────────────────────────────────────────── */
.fnw-legal-body {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  padding-block: 3rem 4rem;
}

.fnw-legal-body h2 {
  font-size: 1.25rem;
  color: var(--fnw-navy);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.fnw-legal-body h3 {
  font-size: 1.0625rem;
  color: var(--fnw-navy);
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  font-family: var(--fnw-font-body);
  font-weight: 600;
}

.fnw-legal-body p {
  color: var(--fnw-charcoal);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.fnw-legal-body ul,
.fnw-legal-body ol {
  margin-bottom: 1rem;
  color: var(--fnw-charcoal);
}

.fnw-legal-body a {
  color: var(--fnw-navy);
}

.fnw-legal-body a:hover {
  color: var(--fnw-oxblood);
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.fnw-footer {
  background: var(--fnw-navy);
  color: rgba(255,255,255,0.75);
  padding-block: 64px 32px;
}

.fnw-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.fnw-footer__brand-wordmark {
  font-family: var(--fnw-font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  display: block;
}

.fnw-footer__brand-wordmark span {
  color: var(--fnw-brass);
}

.fnw-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.fnw-footer__contact p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.fnw-footer__contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.fnw-footer__contact a:hover {
  color: var(--fnw-brass);
  text-decoration: underline;
}

.fnw-footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
  font-family: var(--fnw-font-body);
}

.fnw-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fnw-footer__links li {
  margin-bottom: 0.5rem;
}

.fnw-footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.fnw-footer__links a:hover {
  color: #fff;
}

.fnw-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.fnw-footer__legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.fnw-footer__legal-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.8rem;
}

.fnw-footer__legal-links a:hover {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   Cookie Banner
───────────────────────────────────────────── */
.fnw-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--fnw-navy-deep);
  border-top: 2px solid var(--fnw-oxblood);
  padding: 1.25rem clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}

.fnw-cookie-banner.hidden {
  display: none;
}

.fnw-cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  line-height: 1.55;
}

.fnw-cookie-banner__text a {
  color: var(--fnw-brass);
  text-underline-offset: 2px;
}

.fnw-cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .fnw-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fnw-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fnw-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fnw-footer__grid > *:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --fnw-section-v:    56px;
    --fnw-section-v-sm: 40px;
  }

  .fnw-nav__links,
  .fnw-nav__cta {
    display: none;
  }

  .fnw-nav__hamburger {
    display: flex;
  }

  .fnw-blog-grid {
    grid-template-columns: 1fr;
  }

  .fnw-related-grid {
    grid-template-columns: 1fr;
  }

  .fnw-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .fnw-footer__grid > *:first-child {
    grid-column: auto;
  }

  .fnw-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .fnw-author-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .fnw-hero__deco {
    display: none;
  }
}

/* ─────────────────────────────────────────────
   Sub-page Hero (pages-aux)
───────────────────────────────────────────── */
.fnw-subhero {
  background: var(--fnw-navy);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.fnw-subhero__inner {
  max-width: var(--fnw-max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  position: relative;
  z-index: 2;
}

.fnw-subhero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fnw-brass);
  margin-bottom: 1.1rem;
}

.fnw-subhero__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fnw-oxblood);
  flex-shrink: 0;
}

.fnw-subhero h1 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  color: #fff;
  max-width: 700px;
  margin-bottom: 1.1rem;
}

.fnw-subhero__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  line-height: 1.65;
}

.fnw-subhero__decor {
  position: absolute;
  right: clamp(32px, 6vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   Section Header (shared)
───────────────────────────────────────────── */
.fnw-section-header {
  margin-bottom: 2.75rem;
}

.fnw-section-header--center {
  text-align: center;
}

.fnw-section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fnw-oxblood);
  margin-bottom: 0.75rem;
}

.fnw-section-header h2 {
  margin-bottom: 0.875rem;
}

.fnw-section-header .fnw-lead {
  color: var(--fnw-slate);
  max-width: 600px;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.fnw-section-header--center .fnw-lead {
  margin-inline: auto;
}

/* ─────────────────────────────────────────────
   Contact Page
───────────────────────────────────────────── */
.fnw-contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.fnw-form-panel {
  background: #fff;
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  padding: 2.25rem;
  box-shadow: var(--fnw-shadow);
}

.fnw-form-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.fnw-form-panel > p {
  font-size: 0.9rem;
  color: var(--fnw-slate);
  margin-bottom: 1.75rem;
}

.fnw-form__grid {
  display: grid;
  gap: 1.25rem;
}

.fnw-form__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.fnw-form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fnw-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fnw-charcoal);
  letter-spacing: 0.01em;
}

.fnw-form__input,
.fnw-form__select,
.fnw-form__textarea {
  font-family: var(--fnw-font-body);
  font-size: 0.9375rem;
  color: var(--fnw-charcoal);
  background: #fff;
  border: 1.5px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  line-height: 1.4;
}

.fnw-form__input:focus,
.fnw-form__select:focus,
.fnw-form__textarea:focus {
  border-color: var(--fnw-navy);
  box-shadow: 0 0 0 3px rgba(26,43,74,0.1);
}

.fnw-form__input::placeholder,
.fnw-form__textarea::placeholder {
  color: var(--fnw-slate);
  opacity: 0.55;
}

.fnw-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A6478' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.fnw-form__textarea {
  resize: vertical;
  min-height: 110px;
}

.fnw-contact-aside h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.fnw-contact-aside > p {
  font-size: 0.9375rem;
  color: var(--fnw-slate);
  margin-bottom: 2rem;
}

.fnw-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.fnw-contact-detail__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--fnw-linen-lt);
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fnw-oxblood);
  font-size: 0.875rem;
}

.fnw-contact-detail__body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fnw-slate);
  margin-bottom: 3px;
}

.fnw-contact-detail__body p,
.fnw-contact-detail__body a {
  font-size: 0.9375rem;
  color: var(--fnw-charcoal);
  line-height: 1.5;
  margin: 0;
  text-decoration: none;
}

.fnw-contact-detail__body a:hover {
  color: var(--fnw-oxblood);
}

.fnw-what-to-expect {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fnw-linen);
}

.fnw-what-to-expect h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fnw-navy);
  margin-bottom: 1.25rem;
}

.fnw-step-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  counter-reset: step-ct;
}

.fnw-step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  counter-increment: step-ct;
  margin: 0;
}

.fnw-step-list li::before {
  content: counter(step-ct);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--fnw-navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

.fnw-step-list li strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fnw-navy);
  margin-bottom: 2px;
}

.fnw-step-list li span {
  font-size: 0.875rem;
  color: var(--fnw-slate);
  line-height: 1.5;
}

.fnw-map-embed {
  margin-top: 2rem;
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  overflow: hidden;
}

/* ─────────────────────────────────────────────
   Request Pilot Page
───────────────────────────────────────────── */
.fnw-pilot-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.fnw-pilot-aside h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.fnw-pilot-aside > p {
  color: var(--fnw-slate);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.fnw-pilot-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.fnw-pilot-benefit__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(139,26,43,0.1);
  border-radius: var(--fnw-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fnw-oxblood);
  font-size: 0.875rem;
  margin-top: 2px;
}

.fnw-pilot-benefit__body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fnw-navy);
  margin-bottom: 3px;
}

.fnw-pilot-benefit__body p {
  font-size: 0.875rem;
  color: var(--fnw-slate);
  line-height: 1.5;
  margin: 0;
}

/* ─────────────────────────────────────────────
   CTA Strip
───────────────────────────────────────────── */
.fnw-cta-strip {
  background: var(--fnw-navy);
  padding-block: 64px;
}

.fnw-cta-strip__inner {
  max-width: var(--fnw-max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.fnw-cta-strip h2 {
  color: #fff;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  max-width: 520px;
  margin: 0;
}

.fnw-cta-strip__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Security page
───────────────────────────────────────────── */
.fnw-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.fnw-security-card {
  background: #fff;
  border: 1px solid var(--fnw-linen);
  border-left: 4px solid var(--fnw-navy);
  border-radius: var(--fnw-radius);
  padding: 1.625rem 1.5rem 1.625rem 1.375rem;
}

.fnw-security-card--accent {
  border-left-color: var(--fnw-oxblood);
}

.fnw-security-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.6rem;
}

.fnw-security-card p {
  font-size: 0.9rem;
  color: var(--fnw-slate);
  line-height: 1.6;
  margin: 0;
}

.fnw-compliance-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--fnw-linen);
}

.fnw-compliance-row:last-child {
  border-bottom: none;
}

.fnw-compliance-badge {
  flex-shrink: 0;
  min-width: 128px;
  text-align: center;
  background: var(--fnw-linen-lt);
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  padding: 6px 14px;
  font-family: var(--fnw-font-mono);
  font-size: 0.75rem;
  color: var(--fnw-navy);
  line-height: 1.3;
}

.fnw-compliance-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fnw-navy);
  margin-bottom: 0.4rem;
}

.fnw-compliance-body p {
  font-size: 0.9rem;
  color: var(--fnw-slate);
  line-height: 1.6;
  margin: 0;
}

/* ─────────────────────────────────────────────
   Intake Channels page
───────────────────────────────────────────── */
.fnw-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fnw-channel-card {
  background: #fff;
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  padding: 1.75rem 1.5rem;
}

.fnw-channel-card__icon {
  width: 44px;
  height: 44px;
  background: var(--fnw-linen-lt);
  border-radius: var(--fnw-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--fnw-navy);
  font-size: 1.125rem;
}

.fnw-channel-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.fnw-channel-card p {
  font-size: 0.9rem;
  color: var(--fnw-slate);
  line-height: 1.6;
  margin: 0;
}

.fnw-acord-table {
  width: 100%;
  border-collapse: collapse;
}

.fnw-acord-table th {
  background: var(--fnw-navy);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--fnw-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
}

.fnw-acord-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--fnw-linen);
  font-size: 0.9rem;
  vertical-align: top;
  color: var(--fnw-charcoal);
}

.fnw-acord-table tr:nth-child(even) td {
  background: var(--fnw-linen-lt);
}

.fnw-acord-table td code {
  font-family: var(--fnw-font-mono);
  font-size: 0.8125rem;
  color: var(--fnw-navy);
}

/* ─────────────────────────────────────────────
   Triage Sub-pages
───────────────────────────────────────────── */
.fnw-signals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.fnw-signal-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--fnw-linen);
  border-radius: var(--fnw-radius);
  padding: 1.25rem 1.375rem;
}

.fnw-signal-card__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fnw-oxblood);
  margin-top: 7px;
}

.fnw-signal-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fnw-navy);
  margin-bottom: 4px;
}

.fnw-signal-card p {
  font-size: 0.875rem;
  color: var(--fnw-slate);
  line-height: 1.55;
  margin: 0;
}

.fnw-severity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.fnw-severity-table th {
  background: var(--fnw-navy);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--fnw-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.fnw-severity-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--fnw-linen);
  color: var(--fnw-charcoal);
  vertical-align: middle;
}

.fnw-severity-table tr:last-child td { border-bottom: none; }
.fnw-severity-table tr:nth-child(even) td { background: var(--fnw-linen-lt); }

.fnw-sev-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fnw-sev-badge--low    { background: #e8f3e8; color: #2a602a; }
.fnw-sev-badge--medium { background: #fdf3e0; color: #7a5800; }
.fnw-sev-badge--high   { background: #fae5e8; color: #6e1421; }
.fnw-sev-badge--cat    { background: var(--fnw-navy); color: #fff; }

.fnw-callout-box {
  background: var(--fnw-linen-lt);
  border: 1px solid var(--fnw-linen);
  border-left: 4px solid var(--fnw-brass);
  border-radius: var(--fnw-radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.fnw-callout-box p {
  font-size: 0.9375rem;
  color: var(--fnw-charcoal);
  margin: 0;
  line-height: 1.6;
}

.fnw-integration-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--fnw-linen);
}

.fnw-integration-row:last-child {
  border-bottom: none;
}

.fnw-integration-row__label {
  flex-shrink: 0;
  min-width: 160px;
  font-family: var(--fnw-font-mono);
  font-size: 0.8rem;
  color: var(--fnw-navy);
  padding-top: 4px;
}

.fnw-integration-row__desc h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.fnw-integration-row__desc p {
  font-size: 0.9rem;
  color: var(--fnw-slate);
  margin: 0;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────
   404 Page
───────────────────────────────────────────── */
.fnw-404-wrap {
  background: var(--fnw-navy);
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.fnw-404-inner {
  max-width: 480px;
}

.fnw-404-code {
  font-family: var(--fnw-font-mono);
  font-size: clamp(5rem, 14vw, 8.5rem);
  font-weight: 400;
  color: var(--fnw-oxblood);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.fnw-404-title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  color: #fff;
  margin-bottom: 1rem;
}

.fnw-404-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.fnw-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Additional responsive (pages-aux)
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .fnw-contact-layout,
  .fnw-pilot-layout {
    grid-template-columns: 1fr;
  }

  .fnw-signals-grid,
  .fnw-security-grid {
    grid-template-columns: 1fr;
  }

  .fnw-channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fnw-cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .fnw-cta-strip__actions {
    justify-content: center;
  }

  .fnw-subhero__decor {
    display: none;
  }
}

@media (max-width: 680px) {
  .fnw-form__row-2 {
    grid-template-columns: 1fr;
  }

  .fnw-channel-grid {
    grid-template-columns: 1fr;
  }
}

/* Supplemental — orphan class coverage */
.fnw-footer__brand {
  /* Brand column container in footer grid */
}
.fnw-footer__copy {
  font-size: 0.8125rem;
  color: var(--fnw-slate);
}
.fnw-section--white {
  background: var(--fnw-white);
}
