/* Telario adaptation of the Nesso Jekyll template: split hero, cards, reveal, editorial post layout. */
:root {
  --petrol: #173d4d;
  --orange: #f47847;
  --paper: #f7f5ef;
  --ink: #173d4d;
  --muted: #596b70;
  --line: #d8deda;
  --white: #fff;
  --display:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.06;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  font-weight: 780;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 750;
  margin-bottom: 1.2rem;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}
p {
  margin-bottom: 1.3rem;
}
::selection {
  background: #f4784777;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ad390d;
  outline-offset: 5px;
}
.container {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}
.narrow {
  max-width: 920px;
}
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 650;
  display: block;
  margin-bottom: 1.4rem;
}
.lede {
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 650px;
}
.section {
  padding: 100px 0;
}
.section-tight {
  padding: 65px 0;
}
.section-header {
  max-width: 760px;
  margin-bottom: 45px;
}
.section-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.accent {
  color: #b4431b;
}
.note {
  font-size: 0.83rem;
  color: var(--muted);
}
.text-link {
  font-size: 0.88rem;
  font-weight: 750;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  display: inline-block;
}
.actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--petrol);
  color: white;
  border: 1px solid var(--petrol);
  border-radius: 6px;
  padding: 15px 23px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: #24566a;
  transform: translateY(-2px);
}
.button-outline {
  background: transparent;
  color: var(--petrol);
}
.button-outline:hover {
  background: #e8ece7;
}
.button-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #173d4d;
}
.button-orange:hover {
  background: #ff936a;
}
.button-small {
  padding: 10px 15px;
  font-size: 0.8rem;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 99;
  background: white;
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: #f7f5eff0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand-logo {
  display: block;
  width: 165px;
  height: auto;
  aspect-ratio: 420/128;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.81rem;
  font-weight: 650;
}
.nav-links > a:not(.button) {
  padding: 10px 0;
}
.nav-links > a[aria-current="page"] {
  color: #a93d17;
  border-bottom: 2px solid var(--orange);
}
.nav-links > a:hover {
  color: #a93d17;
}
.nav-links > a.button:hover {
  color: white;
}
.language-switch {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  font-family: ui-monospace, monospace;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 12px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}
.hero-index {
  padding: 85px 0 65px;
  overflow: hidden;
  position: relative;
}
.hero-index:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(#173d4d25 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent 20%, black);
}
.hero-index__grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: 35px;
  align-items: center;
}
.hero-index__title {
  font-size: clamp(3.1rem, 5.6vw, 5.4rem);
  line-height: 1.01;
}
.hero-index__title em {
  font-style: normal;
  color: #b4431b;
}
.hero-index__copy {
  padding-bottom: 20px;
}
.hero-index__copy .lede {
  font-size: 1.1rem;
  max-width: 490px;
}
.hero-index__visual {
  position: relative;
}
.status-line {
  font-family: ui-monospace, monospace;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 23px;
}
.status-dot {
  background: #3d7f60;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.blueprint {
  border: 1px solid #b4c4c8;
  border-radius: 12px;
  box-shadow: 0 30px 70px #173d4d18;
  background: #fff;
  transform: rotate(-1deg);
  overflow: hidden;
}
.window-bar {
  background: #edf1ef;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, monospace;
  font-size: 0.66rem;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  background: #a8babd;
  border-radius: 50%;
}
.diagram {
  display: block;
  width: 100%;
  background-image: radial-gradient(#173d4d25 0.6px, transparent 0.6px);
  background-size: 13px 13px;
}
.diagram .route {
  stroke-dasharray: 7 5;
  animation: flow 15s linear infinite;
}
.diagram .selected {
  animation: select 5s ease-in-out infinite;
}
.diagram .cursor {
  animation: cursor 6s ease-in-out infinite;
}
.stamp {
  position: absolute;
  right: -8px;
  bottom: -18px;
  transform: rotate(5deg);
  background: var(--orange);
  border: 1px solid var(--petrol);
  color: var(--petrol);
  padding: 13px 18px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--petrol);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: bold;
}
.hero-caption {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 23px 0 0;
  text-align: center;
}
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-grid div {
  padding: 22px 22px 22px 0;
}
.proof-grid div + div {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.proof-grid strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.proof-grid span {
  font-size: 0.76rem;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: start;
}
.story-note {
  background: #fff;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 8px;
  position: relative;
  box-shadow: 6px 6px 0 #e1e7df;
}
.story-note:before {
  content: "";
  position: absolute;
  left: 35px;
  top: -13px;
  width: 75px;
  height: 25px;
  background: #f4784780;
  transform: rotate(-4deg);
}
.story-note blockquote {
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 8px 0 25px;
}
.story-note .message {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  padding: 12px;
  background: #f7f5ef;
  border-left: 3px solid var(--orange);
  margin: 12px 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: start;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #9bb0b4;
}
.card-number {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  border: 1px solid #d1dcd7;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 30px;
  color: #a43c19;
}
.card h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}
.card h3 {
  margin-bottom: 15px;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
}
.card .text-link {
  margin-top: auto;
}
.dark-section {
  background: var(--petrol);
  color: var(--paper);
}
.dark-section .lede,
.dark-section p {
  color: #c9d6d7;
}
.dark-section .eyebrow {
  color: #ffb18e;
}
.dark-section .text-link {
  color: #ffb18e;
}
.dark-section .card {
  background: #1c4656;
  border-color: #416171;
}
.dark-section .card-number {
  color: #ffb18e;
  border-color: #547584;
}
.dark-section .button-outline {
  border-color: #72909b;
  color: white;
}
.dark-section .button-outline:hover {
  background: #315a69;
}
.dark-section h2 {
  color: white;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  padding: 17px 0;
  border-bottom: 1px solid #b6c6ca;
  display: flex;
  gap: 15px;
  font-size: 0.94rem;
}
.checklist li:before {
  content: "↗";
  color: #a43c19;
  font-weight: bold;
}
.dark-section .checklist li {
  border-color: #486975;
}
.dark-section .checklist li:before {
  color: #ffb18e;
}
.preview-frame {
  border: 1px solid #65818c;
  border-radius: 10px;
  overflow: hidden;
  background: #edf1f3;
  box-shadow: 0 24px 70px #001f2a33;
}
.preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.screen-caption {
  font-family: ui-monospace, monospace;
  font-size: 0.69rem;
  color: var(--muted);
  margin-top: 15px;
}
.section-label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.section-label:before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
}
.quote-section {
  text-align: center;
  padding: 90px 0;
  background: #f2dfce;
}
.big-quote {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 950px;
  margin: 0 auto 20px;
}
.quote-section p {
  margin: 0;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
summary:after {
  content: "+";
  font-size: 1.35rem;
  color: #a43c19;
}
details[open] summary:after {
  content: "−";
}
details p {
  margin: 18px 0 0;
  max-width: 800px;
  color: var(--muted);
}
.cta-band {
  background: #ebeeea;
  border-top: 1px solid var(--line);
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}
.cta-band h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 0;
}
.site-footer {
  padding: 65px 0 25px;
  background: #102e3a;
  color: #f7f5ef;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 70px;
  padding-bottom: 45px;
}
.site-footer p {
  font-size: 0.85rem;
  color: #bfd0d3;
}
.site-footer .brand-logo {
  margin-bottom: 20px;
}
.site-footer .eyebrow {
  color: #ffb18e;
  font-size: 0.65rem;
  margin-bottom: 20px;
}
.footer-top > div > a:not(:first-child) {
  display: block;
  font-size: 0.85rem;
  margin: 10px 0;
}
.footer-top a:hover {
  color: #ffb18e;
}
.author-note a {
  color: #ffb18e;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid #34505b;
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 0.68rem;
  color: #b6c8cc;
}
.page-hero {
  padding: 85px 0 70px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #f7f5ef 45%, #e6ede6);
}
.page-hero h1 {
  max-width: 1000px;
}
.page-hero .lede {
  max-width: 780px;
}
.page-hero__goldline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--orange);
}
.steps {
  counter-reset: steps;
}
.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.step:before {
  content: "0" counter(steps);
  font-family: ui-monospace, monospace;
  color: #a43c19;
  font-size: 2rem;
}
.step h2 {
  font-size: 1.7rem;
}
.step p {
  max-width: 850px;
  color: var(--muted);
}
.step p:last-child {
  margin-bottom: 0;
}
.prose {
  font-size: 1.06rem;
  line-height: 1.85;
  min-width: 0;
}
.prose h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-top: 55px;
  line-height: 1.2;
  scroll-margin-top: 120px;
}
.prose h3 {
  margin-top: 35px;
}
.prose p {
  margin-bottom: 1.55rem;
}
.prose a {
  color: #a43c19;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
}
.prose li {
  padding-bottom: 8px;
}
.prose blockquote {
  border-left: 4px solid var(--orange);
  margin: 35px 0;
  padding: 15px 25px;
  background: #edece3;
  font-weight: 650;
}
.prose code {
  font-size: 0.87em;
  background: #e6eae4;
  padding: 3px 6px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.prose pre {
  background: #102e3a;
  color: #e5efed;
  padding: 25px;
  overflow-x: auto;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.7;
}
.prose pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  overflow-wrap: normal;
}
.content-block {
  max-width: 900px;
}
.table-scroll {
  overflow-x: auto;
  margin: 30px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
  text-align: left;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 17px 18px;
  vertical-align: top;
}
th {
  background: #e6eae4;
  font-weight: 750;
}
td:first-child {
  font-weight: 650;
}
td p {
  margin-bottom: 0;
}
.callout {
  border: 1px solid #dbb19d;
  border-left: 4px solid var(--orange);
  background: #fff2e9;
  padding: 25px 30px;
  border-radius: 5px;
  margin: 30px 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.article-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
}
.article-meta {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 25px 0;
}
.article-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  justify-content: center;
  gap: 65px;
  padding-top: 70px;
  padding-bottom: 85px;
}
.article-aside {
  align-self: start;
  position: sticky;
  top: 130px;
  border-top: 3px solid var(--orange);
  padding-top: 20px;
}
.article-aside .eyebrow {
  font-size: 0.62rem;
}
.article-aside p,
.article-aside a {
  font-size: 0.78rem;
}
.article-aside p {
  color: var(--muted);
}
.article-aside a {
  display: block;
  font-weight: 700;
  margin-top: 15px;
}
.related {
  background: #e9ede7;
}
.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.journal-grid .card {
  min-height: 340px;
}
.journal-grid .card h2 {
  font-size: 2rem;
}
.journal-grid .card p {
  font-size: 1rem;
}
.language-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 25px;
  background-image: radial-gradient(#173d4d25 0.8px, transparent 0.8px);
  background-size: 20px 20px;
}
.language-page h1 {
  margin-top: 45px;
}
.reveal {
  opacity: 1;
  transform: none;
}
.js-motion .reveal.pending {
  opacity: 0;
  transform: translateY(20px);
}
.js-motion .reveal {
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.active {
  opacity: 1;
  transform: none;
}
.diagram-key {
  display: flex;
  gap: 20px;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
@keyframes flow {
  to {
    stroke-dashoffset: -120;
  }
}
@keyframes select {
  0%,
  100% {
    opacity: 0.35;
  }
  45%,
  70% {
    opacity: 1;
  }
}
@keyframes cursor {
  0%,
  100% {
    transform: translate(0, 0);
  }
  40%,
  65% {
    transform: translate(-25px, 20px);
  }
}
@media (min-width: 1550px) {
  .hero-index {
    padding: 110px 0 90px;
  }
  .hero-index__grid {
    gap: 75px;
  }
}
@media (max-width: 1100px) {
  .nav-links {
    gap: 15px;
    font-size: 0.75rem;
  }
  .brand-logo {
    width: 140px;
  }
  .container {
    width: calc(100% - 50px);
  }
  .hero-index__grid {
    gap: 25px;
  }
  .hero-index__title {
    font-size: 4rem;
  }
  .split {
    gap: 40px;
  }
  .footer-top {
    gap: 35px;
  }
  .cards {
    gap: 15px;
  }
  .card {
    padding: 24px;
  }
}
@media (max-width: 850px) {
  .nav-inner {
    height: 74px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    font-size: 1rem;
    max-height: calc(100svh - 74px);
    overflow: auto;
  }
  .nav-links.is-open {
    display: flex;
  }
  .language-switch {
    border: 0;
    padding: 10px 0;
  }
  .hero-index {
    padding: 55px 0 70px;
  }
  .hero-index__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-index__title {
    font-size: clamp(3.4rem, 10vw, 5.5rem);
  }
  .hero-index__copy .lede {
    max-width: 650px;
  }
  .hero-index__visual {
    max-width: 680px;
    margin: auto;
    width: 100%;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proof-grid div {
    border-bottom: 1px solid var(--line);
  }
  .proof-grid div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .section {
    padding: 70px 0;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 30px;
  }
  .card-number {
    margin-bottom: 20px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .cta-band .container {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 35px;
  }
  .article-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
  }
  .article-aside p {
    display: none;
  }
  .article-aside .eyebrow {
    margin: 0;
  }
  .article-aside a {
    margin: 0;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 60px 0 50px;
  }
  .article-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
}
@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }
  .hero-index__title {
    font-size: 3.3rem;
  }
  .hero-index__copy .lede {
    font-size: 1.03rem;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .actions .button {
    width: 100%;
  }
  .proof-grid strong {
    font-size: 0.95rem;
  }
  .proof-grid span {
    font-size: 0.68rem;
  }
  .proof-grid div + div {
    padding-left: 15px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top > div:first-child {
    grid-column: auto;
  }
  .step {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }
  .step:before {
    font-size: 1.4rem;
  }
  .story-note {
    padding: 25px;
  }
  .story-note blockquote {
    font-size: 1.2rem;
  }
  .prose {
    font-size: 1rem;
  }
  .stamp {
    right: 4px;
    font-size: 0.62rem;
    padding: 10px;
  }
  .section-topline {
    flex-direction: column;
    align-items: start;
  }
  .journal-grid .card h2 {
    font-size: 1.65rem;
  }
  .article-hero h1 {
    font-size: 2.45rem;
  }
  .diagram-key {
    font-size: 0.57rem;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal.pending {
    opacity: 1;
    transform: none;
  }
}
.article-toc {
  margin-top: 25px;
  padding-block: 15px;
}
.article-toc summary {
  font-size: 0.78rem;
  letter-spacing: 0;
}
.article-toc nav {
  max-height: 45vh;
  overflow: auto;
  padding-right: 8px;
}
.article-toc nav a {
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.5;
}
.article-toc nav a:hover {
  text-decoration: underline;
}
.article-toc[hidden] {
  display: none;
}

/* Light/dark modes retained from the source template and adapted to Telario. */
:root {
  color-scheme: light;
}
[hidden] {
  display: none !important;
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links {
  margin-left: 8px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition:
    background 0.2s,
    transform 0.2s;
}
.theme-toggle:hover {
  background: #173d4d0d;
  transform: rotate(-10deg);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-icon-sun {
  display: none;
}
.dark .theme-icon-sun {
  display: block;
}
.dark .theme-icon-moon {
  display: none;
}
.language-theme {
  position: absolute;
  right: 30px;
  top: 25px;
  z-index: 2;
}
.post-cover {
  margin: 0 auto;
  width: min(1100px, calc(100% - 80px));
  padding-top: 45px;
}
.post-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.post-cover figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 12px;
}
.card-cover {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin: -30px -30px 25px;
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid var(--line);
}
.dark {
  --paper: #102733;
  --ink: #e7eeeb;
  --muted: #b4c5c8;
  --line: #35515e;
  --white: #193746;
  color-scheme: dark;
}
.dark .site-header {
  background: #102733f0;
}
.dark .home-link .brand-logo,
.dark .language-page > img {
  content: url("/assets/brand/logo-white.svg");
}
.dark .hero-index:before,
.dark .language-page {
  background-image: radial-gradient(#9ab9c42e 0.8px, transparent 0.8px);
}
.dark .hero-index__title em,
.dark .accent,
.dark .nav-links > a[aria-current="page"],
.dark .nav-links > a:not(.button):hover,
.dark .prose a,
.dark .checklist li:before,
.dark .step:before,
.dark summary:after {
  color: #ffad88;
}
.dark .button:not(.button-outline):not(.button-orange) {
  background: #f47847;
  border-color: #f47847;
  color: #102733;
}
.dark .button:not(.button-outline):not(.button-orange):hover {
  background: #ff9b71;
  color: #102733;
}
.dark .button-outline {
  color: #e7eeeb;
  border-color: #819da8;
  background: transparent;
}
.dark .button-outline:hover {
  background: #234451;
}
.dark .theme-toggle:hover {
  background: #ffffff10;
}
.dark .blueprint,
.dark .story-note,
.dark .card {
  background: #193746;
  border-color: #3c5b68;
}
.dark .blueprint {
  box-shadow: 0 30px 70px #0003;
}
.dark .window-bar {
  background: #224451;
}
.dark .diagram {
  background-image: radial-gradient(#9ab9c433 0.6px, transparent 0.6px);
}
.dark .diagram [stroke="#173d4d"] {
  stroke: #aec6ce;
}
.dark .diagram g[fill="white"],
.dark .diagram [fill="#f7f5ef"] {
  fill: #193746;
}
.dark .diagram g[fill="#173d4d"],
.dark .diagram text[fill="#173d4d"] {
  fill: #e7eeeb;
}
.dark .diagram [fill="#e5ece7"] {
  fill: #315361;
}
.dark .diagram [fill="#fff0e7"] {
  fill: #4c382f;
}
.dark .story-note {
  box-shadow: 6px 6px 0 #244451;
}
.dark .story-note .message {
  background: #102733;
}
.dark .card:hover {
  border-color: #86a3af;
}
.dark .card-number {
  color: #ffad88;
  border-color: #54717d;
}
.dark .dark-section {
  background: #0c202a;
}
.dark .dark-section .card {
  background: #173846;
}
.dark .dark-section .button-outline:hover {
  background: #294e5d;
}
.dark .quote-section {
  background: #47362f;
}
.dark .cta-band,
.dark .related {
  background: #183540;
}
.dark .page-hero {
  background: linear-gradient(125deg, #102733 45%, #1d3c48);
}
.dark .prose code {
  background: #294a57;
}
.dark .prose pre {
  background: #091d27;
  border: 1px solid #35515e;
}
.dark .prose pre code {
  background: transparent;
}
.dark .prose blockquote {
  background: #25434f;
}
.dark th {
  background: #294956;
}
.dark .callout {
  background: #392e29;
  border-color: #8d6551;
  color: #f1e7df;
}
.dark .checklist li {
  border-color: #3d5b67;
}
.dark .preview-frame {
  background: #193746;
}
.dark .skip-link {
  background: #193746;
}
.dark a:focus-visible,
.dark button:focus-visible,
.dark summary:focus-visible {
  outline-color: #ffad88;
}
.dark .nav-links > a.button:hover {
  color: #102733;
}
@media (min-width: 851px) {
  .nav-controls {
    order: 3;
    margin-left: 0;
  }
  .nav-links {
    margin-left: auto;
  }
  .nav-inner {
    gap: 20px;
  }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .nav-inner {
    gap: 12px;
  }
  .nav-links {
    gap: 11px;
  }
  .language-switch {
    padding-left: 12px;
  }
}
@media (max-width: 1100px) and (min-width: 851px) {
  .card-cover {
    width: calc(100% + 48px);
    margin: -24px -24px 25px;
  }
}
@media (max-width: 850px) {
  .nav-controls {
    margin-left: auto;
  }
  .nav-links {
    margin-left: 0;
  }
  .post-cover {
    width: calc(100% - 50px);
    padding-top: 30px;
  }
  .card-cover {
    width: calc(100% + 60px);
    margin: -30px -30px 25px;
  }
}
@media (max-width: 480px) {
  .post-cover {
    width: calc(100% - 36px);
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
  .nav-controls {
    gap: 2px;
  }
  .post-cover figcaption {
    font-size: 0.67rem;
  }
}
