@font-face {
  font-family: "Nogales Menu";
  src: url("https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #121318;
  --muted: #565653;
  --paper: #f3f0eb;
  --line: #d4cec4;
  --blue: #172986;
  --white: #fff;
  font-family: "Montserrat", "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
img { width: 100%; display: block; height: auto; }
.n8-wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.n8-site-header, .n8-footer { font-family: "Nogales Menu", Montserrat, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; }
.n8-site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.n8-site-header .n8-wrap, .n8-footer .n8-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 80px; }
.n8-wordmark { width: clamp(128px, 16vw, 176px); height: auto; }
.n8-site-header nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 35px); }
.n8-site-header a, .n8-footer a { text-decoration: none; font-weight: 600; font-size: .9375rem; }
.n8-site-header nav a { padding-block: 10px; }
.n8-site-header nav a:hover, .n8-site-header [aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: .38em; }
.n8-contact { color: var(--blue); white-space: nowrap; }
.n8-intro { padding-block: clamp(50px, 8vw, 110px) 34px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
.n8-intro h1 { margin: 0; font-size: clamp(3.5rem, 10vw, 8.1rem); line-height: .97; letter-spacing: -.09em; }
.n8-intro h1 span { color: var(--blue); }
.n8-intro p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); margin: 28px 0 0; }
.n8-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.n8-card { border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; padding-bottom: 22px; }
.n8-card-media { overflow: hidden; display: block; background: #ded9d1; }
.n8-card-media img { aspect-ratio: 16 / 10; object-fit: cover; }
.n8-card--lead { display: grid; grid-template-columns: 1.45fr 1fr; grid-column: 1 / -1; gap: clamp(24px, 5vw, 76px); align-items: center; border-top: none; border-bottom: 1px solid var(--line); padding-bottom: 34px; }
.n8-card--lead .n8-card-media img { aspect-ratio: 16 / 10; }
.n8-card h2 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); letter-spacing: -.035em; line-height: 1.12; margin: 12px 0; }
.n8-card--lead h2 { font-size: clamp(2.25rem, 4.5vw, 4.9rem); letter-spacing: -.065em; }
.n8-card h2 a { text-decoration: none; }
.n8-card h2 a:hover, .n8-more:hover { text-decoration: underline; text-underline-offset: .16em; }
.n8-card p { color: var(--muted); line-height: 1.55; }
.n8-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .77rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .085em; }
.n8-meta time { color: var(--muted); text-transform: none; letter-spacing: .025em; }
.n8-more { display: inline-flex; gap: 10px; align-items: center; color: var(--blue); font-weight: 750; text-decoration: none; min-height: 42px; }
.n8-more span { font-size: 1.2em; }
.n8-empty { padding-block: 44px 80px; color: var(--muted); }
.n8-article-wrap { padding-top: clamp(26px, 5vw, 58px); }
.n8-back { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.n8-article-header { margin: clamp(32px, 6vw, 74px) 0 26px; border-bottom: 1px solid var(--ink); padding-bottom: 28px; }
.n8-article-header h1 { font-size: clamp(2.6rem, 7.5vw, 6.3rem); line-height: 1; letter-spacing: -.075em; margin: 16px 0; max-width: 20ch; overflow-wrap: anywhere; }
.n8-deck { font-size: clamp(1.05rem, 2.4vw, 1.5rem); max-width: 56ch; color: var(--muted); line-height: 1.5; margin: 0; }
.n8-article--preview .n8-article-header { margin-top: 24px; padding-bottom: 20px; }
.n8-article--preview .n8-article-header h1 { font-size: clamp(2rem, 5vw, 4rem); max-width: 24ch; }
.n8-article-image { aspect-ratio: 2.2; object-fit: cover; }
.n8-story, .n8-share { max-width: 72ch; margin: 36px auto; overflow-wrap: anywhere; }
.n8-story p { font-size: clamp(1rem, 1.8vw, 1.13rem); line-height: 1.75; }
.n8-story-figure { margin: 28px 0; }
.n8-story-figure img { width: auto; max-width: 100%; height: auto; margin: auto; }
.n8-story-figure figcaption { margin-top: 6px; color: var(--muted); font-size: .85rem; }
.n8-story h2 { margin: 1.65em 0 .35em; letter-spacing: -.035em; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.n8-story .n8-source { margin-top: 30px; }
.n8-source a { color: var(--blue); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.n8-preview { color: var(--blue); border-left: 3px solid var(--blue); padding-left: 12px; font-weight: 700; }
.n8-share { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 55px; }
.n8-share h2 { font-size: 1.15rem; margin: 0 0 12px; }
.n8-share div { display: flex; flex-wrap: wrap; gap: 8px; }
.n8-share a, .n8-share button { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--white); color: var(--blue); border-radius: 6px; text-decoration: none; padding: 8px 12px; font-family: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.n8-share a:hover, .n8-share button:hover { border-color: var(--blue); }
.n8-share [hidden] { display: none; }
.n8-share-status { color: var(--muted); font-size: .88rem; }
.n8-copy-fallback { font: inherit; padding: 8px; width: 100%; }
.n8-footer { margin-top: 46px; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); }
.n8-footer span { font-size: .9375rem; font-weight: 400; }
.n8-skip { position: absolute; left: -9999px; }
.n8-skip:focus { left: 14px; top: 10px; z-index: 5; background: #fff; padding: 10px; }
@media (max-width: 800px) {
  .n8-wrap { width: calc(100% - 40px); }
  .n8-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n8-site-header .n8-wrap { min-height: 72px; }
}
@media (max-width: 680px) {
  .n8-site-header .n8-wrap { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding-block: 14px 5px; }
  .n8-site-header nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; gap: 8px; }
  .n8-site-header .n8-contact { grid-area: 1 / 2; justify-self: end; }
}
@media (max-width: 560px) {
  .n8-grid, .n8-card--lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .n8-card--lead { padding-bottom: 20px; }
  .n8-article-image { aspect-ratio: 16 / 10; }
  .n8-footer .n8-wrap { display: grid; justify-items: start; gap: 12px; padding-block: 20px; }
}
@media (max-width: 360px) {
  .n8-site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
}

/* Editorial layout shared by the public article and its CRM preview. */
.n8-article-wrap { width: min(100% - 40px, 800px); }
.n8-article-header { border-color: var(--ink); margin-bottom: 0; }
.n8-article-header h1 { font-size: clamp(2.2rem, 6.3vw, 4.7rem); line-height: 1.04; letter-spacing: -.055em; }
.n8-article-header .n8-meta { color: var(--muted); letter-spacing: .065em; }
.n8-article-header .n8-deck { max-width: 66ch; }
.n8-article-wrap .n8-article-image { margin-top: 26px; }
.n8-article-wrap .n8-story { max-width: none; margin: 26px 0 42px; }
.n8-story h2 { margin: 1.5em 0 .4em; font-weight: 800; }
.n8-story-figure { margin: 28px 0; padding: 12px; border: 1px solid var(--line); background: #fbfaf8; }
.n8-story-figure figcaption { text-align: left; }
.n8-article--preview .n8-article-header h1 { font-size: clamp(2rem, 5vw, 4rem); }

.n8-story .n8-align-center { text-align: center; }
.n8-story .n8-align-right { text-align: right; }
.n8-story .n8-align-justify { text-align: justify; hyphens: auto; }

.n8-card-gallery { position: relative; min-width: 0; }
.n8-gallery-tools {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
}
.n8-gallery-tools[hidden], .n8-gallery-tools button[hidden] { display: none; }
.n8-gallery-tools button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.n8-gallery-tools button:hover { background: var(--paper); }
