@font-face {
  font-family: "Jost";
  font-style: normal;
  src: url("_ds/brisa-design-system-7ab71009-b977-486d-8d39-b0fbfbbf41ba/fonts/jost-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  src: url("_ds/brisa-design-system-7ab71009-b977-486d-8d39-b0fbfbbf41ba/fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  src: url("_ds/brisa-design-system-7ab71009-b977-486d-8d39-b0fbfbbf41ba/fonts/jost-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  src: url("_ds/brisa-design-system-7ab71009-b977-486d-8d39-b0fbfbbf41ba/fonts/jost-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #fbf7f3;
  --ink: #1d1d1b;
  --text: #3a3733;
  --muted: #756d65;
  --line: #e8ddd3;
  --accent: #9a4528;
  --accent-dark: #74351f;
  --blush: #f7e6de;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 221, 211, 0.92);
  background: rgba(251, 247, 243, 0.92);
  backdrop-filter: blur(12px);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand img { width: 67px; height: 40px; object-fit: contain; }
.blog-label {
  margin-left: 6px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.nav-spacer { flex: 1; }

.language-menu { position: relative; }
.language-menu summary {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(45, 35, 28, 0.16);
}
.language-options a,
.language-options span {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.language-options span { background: #f1e7df; font-weight: 600; }
.language-options a:hover { background: #f8f2ec; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(154, 69, 40, 0.18);
}
.button:hover { background: var(--accent-dark); color: var(--white); }
.button-small { min-height: 40px; padding: 0 17px; font-size: 14px; }

.blog-main { max-width: 1160px; margin: 0 auto; padding: 64px 24px 96px; }
.blog-intro { max-width: 690px; margin-bottom: 48px; }
.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.blog-intro h1 {
  margin: 14px 0 0;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.blog-intro > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
}

.post-list { display: grid; gap: 0; }
.post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.post-card.featured {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 46px;
  padding: 0 0 64px;
  border-top: 0;
}
.post-image {
  overflow: hidden;
  border-radius: 20px;
  background: #efe7df;
  box-shadow: 0 12px 34px rgba(45, 35, 28, 0.1);
  aspect-ratio: 4 / 3;
}
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.post-image:hover img { transform: scale(1.015); }
.post-copy h2 { margin: 14px 0 0; font-size: 25px; line-height: 1.18; letter-spacing: -0.01em; }
.featured .post-copy h2 { font-size: clamp(27px, 3.2vw, 38px); }
.post-copy h2 a { color: var(--ink); text-decoration: none; }
.post-copy h2 a:hover { color: var(--accent); }
.post-copy > p { margin: 13px 0 0; color: var(--text); font-size: 16px; line-height: 1.65; }
.read-more { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none; }

.article-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.category {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.category-guide { background: #eee8f6; color: #72569a; }
.category-howto { background: #f5e7df; color: #994727; }

.article-shell { max-width: 800px; margin: 0 auto; padding: 34px 24px 0; }
.breadcrumbs { display: flex; gap: 8px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.article-header { margin-top: 28px; }
.article-header h1 {
  margin: 16px 0 0;
  font-size: clamp(33px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.article-excerpt { margin: 17px 0 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.article-cover {
  width: 100%;
  height: auto;
  margin-top: 32px;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(45, 35, 28, 0.12);
  aspect-ratio: 639 / 359;
  object-fit: cover;
}
.article-body { margin-top: 40px; }
.article-body > p,
.article-body li { color: var(--text); font-size: 17.5px; line-height: 1.76; }
.article-body > p { margin: 0 0 22px; }
.article-body h2 { margin: 40px 0 14px; font-size: 26px; line-height: 1.25; }
.article-body ul { margin: 0 0 25px; padding-left: 24px; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote {
  margin: 32px 0;
  padding-left: 22px;
  border-left: 3px solid #d3b7a7;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}
.article-body figure { margin: 34px 0; }
.article-body figure img { width: 100%; height: auto; border-radius: 19px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.article-inline-link { margin: -2px 0 29px !important; }
.article-inline-link a { font-weight: 600; text-decoration: none; }
.article-inline-link a:hover { color: var(--accent); }
.article-inline-cta { margin: 9px 0 34px !important; }
.article-faq { margin: 42px 0 0; padding: 25px 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.article-faq h2 { margin: 0 0 18px; }
.article-faq h3 { margin: 18px 0 5px; font-size: 17px; line-height: 1.35; }
.article-faq p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.65; }

.related {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.related h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.related-grid a {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  text-decoration: none;
}
.related-grid a:hover { border-color: #d3b7a7; color: var(--accent); }
.related-grid span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.related-grid strong { font-size: 16px; line-height: 1.35; }
.product-link { margin: 23px 0 0 !important; }
.product-link a { font-weight: 600; text-decoration: none; }

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 800px;
  margin: 42px auto 0;
  padding: 28px 24px 0;
  border-top: 1px solid var(--line);
}
.post-nav-card { display: grid; gap: 7px; color: var(--ink); text-decoration: none; }
.post-nav-card.next { text-align: right; }
.post-nav-card span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.post-nav-card strong { font-size: 16px; line-height: 1.35; }
.post-nav-card:hover { color: var(--accent); }

.article-cta { margin-top: 72px; padding: 60px 24px; background: var(--blush); text-align: center; }
.article-cta h2 { margin: 0; font-size: clamp(27px, 3vw, 36px); }
.article-cta p { max-width: 540px; margin: 13px auto 24px; color: var(--text); font-size: 17px; line-height: 1.6; }

.site-footer { border-top: 1px solid var(--line); }
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 24px;
}
.footer-brand { max-width: 430px; }
.footer-brand img { width: auto; height: 42px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links strong { color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a { color: var(--text); font-size: 14px; text-decoration: none; }
.footer-links button {
  width: fit-content;
  color: var(--text);
  font-size: 14px;
  text-align: left;
  text-decoration: none;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--accent); }
.footer-bottom { padding: 20px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }

.legal-main { max-width: 900px; margin: 0 auto; padding: 42px 24px 96px; }
.legal-article { margin-top: 34px; }
.legal-article > header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.legal-article h1 {
  margin: 13px 0 0;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.legal-intro {
  max-width: 720px;
  margin: 17px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
}
.legal-updated { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.legal-article section { padding-top: 31px; }
.legal-article section h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; }
.legal-article section p { margin: 0 0 15px; color: var(--text); font-size: 16px; line-height: 1.72; }
.legal-table-wrap { margin: 18px 0 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.legal-table-wrap table { width: 100%; border-collapse: collapse; min-width: 680px; }
.legal-table-wrap th,
.legal-table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.5; }
.legal-table-wrap th { background: #f6eee8; color: var(--ink); font-size: 12px; letter-spacing: 0.04em; }
.legal-table-wrap tr:last-child td { border-bottom: 0; }
.legal-references {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.legal-references a { font-size: 13px; font-weight: 600; text-decoration: none; }

.legacy-page { min-height: 100vh; display: grid; place-items: center; }
.legacy-page main { max-width: 520px; padding: 40px 24px; text-align: center; }
.legacy-page img { margin: 0 auto; }
.legacy-page p { margin: 24px 0 10px; font-size: 19px; }

@media (max-width: 720px) {
  .top-nav { padding: 12px 16px; }
  .button-small { display: none; }
  .blog-main { padding: 48px 18px 72px; }
  .post-card,
  .post-card.featured { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .post-card.featured { padding-top: 0; padding-bottom: 50px; }
  .article-shell { padding: 28px 18px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .post-navigation { padding-right: 18px; padding-left: 18px; }
  .footer-main { flex-direction: column; padding: 42px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .post-image img { transition: none; }
}
