@font-face { font-family: "Sora"; src: url("/fonts/sora-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root { --ink: #131a18; --muted: #596761; --teal: #0e6b63; --deep: #073933; --lime: #c8f04b; --line: #dce2e0; --paper: #f6f8f7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: "Sora", system-ui, sans-serif; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; background: var(--lime); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.blog-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-size: 27px; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.brand span { color: var(--teal); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.button) { padding-block: 12px; }
.main-nav > a:hover { color: var(--teal); }
.main-nav > a[aria-current] { color: var(--teal); box-shadow: 0 2px var(--teal); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; border: 0; border-radius: 10px; padding: 13px 22px; font-weight: 600; line-height: 1.4; transition: background .15s; }
.button-primary { background: var(--teal); color: #fff; }
.button-primary:hover, .main-nav .button-primary:hover { background: var(--deep); color: #fff; }
.button-lime { background: var(--lime); color: var(--deep); }
.button-lime:hover { background: #d6f470; }
.blog-hero { background: #eaf1ee; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 80px; padding-block: 64px; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: .13em; text-transform: uppercase; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.eyebrow-line { height: 2px; width: 24px; background: var(--teal); }
.hero-copy h1 { max-width: 600px; font-size: clamp(36px, 4.1vw, 50px); line-height: 1.15; letter-spacing: -.055em; font-weight: 600; }
.hero-copy h1 span { color: var(--teal); }
.hero-description { max-width: 460px; margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.hero-link { display: inline-flex; align-items: center; gap: 22px; color: var(--deep); font-size: 14px; font-weight: 700; margin-top: 24px; }
.hero-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-stats { display: flex; gap: 28px; margin-top: 35px; padding-top: 22px; border-top: 1px solid #cfdcd6; font-size: 12px; color: var(--muted); }
.hero-stats > span { display: flex; align-items: baseline; gap: 8px; }
.hero-stats strong { color: var(--deep); font-size: 19px; font-weight: 600; }
.featured-article { background: var(--deep); border-radius: 16px; overflow: hidden; color: #fff; transition: transform .2s, box-shadow .2s; }
.featured-article:hover { transform: translateY(-4px); box-shadow: 0 14px 26px #05282418; }
.featured-art { position: relative; padding-top: 50px; background: #0b4942; }
.featured-art svg { display: block; width: 100%; height: auto; }
.plan-grid { stroke: #ffffff; stroke-opacity: .045; }
.featured-label { position: absolute; top: 22px; left: 28px; font-size: 9px; font-weight: 600; color: #dbebe4; letter-spacing: .15em; }
.featured-copy { padding: 24px 28px 26px; }
.featured-category { color: var(--lime); font-size: 11px; font-weight: 600; }
.featured-copy h2 { margin-top: 10px; font-size: 21px; line-height: 1.4; font-weight: 500; letter-spacing: -.035em; }
.featured-link { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; color: #d0e2dc; font-size: 12px; }
.featured-link > span { color: var(--lime); font-size: 22px; line-height: 1; }
.library { padding-block: 64px 72px; }
.library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.library-heading h2 { font-size: 28px; font-weight: 500; letter-spacing: -.04em; line-height: 1.35; margin-top: 9px; }
.library-heading > p { font-size: 12px; color: var(--muted); padding-bottom: 3px; }
.search-form { display: flex; align-items: center; gap: 14px; padding: 9px 10px 9px 22px; margin-bottom: 36px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.search-form > svg { flex: none; color: var(--teal); }
.search-form input { flex: 1; width: 100%; min-width: 0; border: none; background: transparent; color: var(--ink); padding: 12px 2px; font-size: 14px; }
.search-form input::placeholder { color: #6c7772; opacity: 1; }
.search-form input:focus-visible { outline-offset: 1px; border-radius: 2px; }
.search-form .button { font-size: 13px; }
.library-grid { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 40px; align-items: start; }
.topics, .results { min-width: 0; }
.topics h3 { margin: 10px 0 18px; font: 600 13px "Instrument Sans", sans-serif; }
.topic-list { display: flex; flex-direction: column; gap: 5px; }
.topic-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 8px; padding: 12px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.topic-link:hover { background: #eaf0ed; color: var(--deep); }
.topic-link.is-active { background: var(--deep); color: white; font-weight: 600; }
.topic-count { flex: none; font-size: 10px; min-width: 25px; text-align: center; padding: 2px 4px; border-radius: 4px; background: #e7ece9; color: var(--muted); }
.is-active .topic-count { background: #ffffff1f; color: var(--lime); }
.sidebar-note { margin-top: 32px; padding: 22px; background: #eaf1ee; border-radius: 10px; }
.sidebar-note > span:first-child { color: var(--teal); font-size: 24px; }
.sidebar-note p { margin-top: 8px; font-size: 14px; font-weight: 600; }
.sidebar-note > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 6px; }
.sidebar-note a { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 12px; font-weight: 600; color: var(--teal); }
.sidebar-note a:hover { text-decoration: underline; }
.results-toolbar { min-height: 38px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.results-toolbar p { font-size: 12px; color: var(--muted); }
.text-button { border: none; background: none; padding: 8px 0; font-size: 12px; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.text-button span { margin-left: 5px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.article-card { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: white; min-height: 270px; transition: border-color .15s, box-shadow .15s; }
.article-card:hover { border-color: #63ada6; box-shadow: 0 5px 18px #05282408; }
.article-card:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.article-category { display: flex; align-items: center; gap: 7px; color: var(--teal); font-size: 10px; font-weight: 600; line-height: 1.5; }
.category-dot { width: 6px; height: 6px; border-radius: 50%; background: #75a196; flex: none; }
.article-card h3 { font-weight: 500; font-size: 18px; line-height: 1.45; letter-spacing: -.035em; margin-top: 16px; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.article-card h3 a:focus-visible { outline: none; }
.article-card p { margin-block: 12px 26px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.article-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; font-size: 11px; font-weight: 600; color: var(--teal); }
.article-link > span { font-size: 19px; line-height: 1; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed #bfcec7; border-radius: 12px; }
.empty-icon { font-size: 40px; color: var(--teal); }
.empty-state h3 { font-size: 21px; font-weight: 500; margin: 8px 0 12px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pagination button { display: inline-flex; justify-content: center; align-items: center; min-width: 36px; height: 40px; border: 1px solid transparent; border-radius: 8px; background: none; font-size: 12px; color: var(--muted); }
.pagination button:hover:enabled { background: #e2eae6; }
.pagination button[aria-current] { background: var(--deep); color: white; }
.pagination button:disabled { opacity: .35; cursor: default; }
.pagination .page-direction { padding: 0 12px; color: var(--deep); }
.page-ellipsis { color: var(--muted); }
.noscript-note { font-size: 14px; color: var(--muted); }
.practice-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--deep); color: #fff; padding: 44px 48px; border-radius: 16px; margin-bottom: 72px; }
.practice-cta .eyebrow { color: var(--lime); }
.practice-cta h2 { font-size: 28px; line-height: 1.4; letter-spacing: -.04em; font-weight: 500; margin-block: 12px 14px; }
.practice-cta p:last-child { max-width: 480px; color: #bcd4ca; font-size: 14px; }
.practice-cta .button { flex: none; font-size: 13px; }
.practice-cta a:focus-visible { outline-color: var(--lime); }
.blog-footer { border-top: 1px solid var(--line); background: #fff; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; }
.footer-grid p { font-size: 13px; color: var(--muted); margin-top: 14px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--muted); }
.footer-grid h2 { font: 600 13px "Instrument Sans", sans-serif; color: var(--ink); margin: 6px 0 9px; }
.footer-grid nav a:hover { color: var(--teal); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 18px; font-size: 11px; color: var(--muted); }
@media (max-width: 1000px) {
  .hero-grid { gap: 40px; }
  .main-nav { gap: 20px; }
  .hero-stats { gap: 14px; flex-wrap: wrap; }
  .library-grid { grid-template-columns: 205px minmax(0, 1fr); gap: 24px; }
  .article-card { padding: 22px; }
  .library-heading > p { display: none; }
  .practice-cta { padding: 36px; }
  .practice-cta h2 { font-size: 25px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 16px; }
  .brand { font-size: 24px; }
  .main-nav { gap: 18px; }
  .main-nav .nav-secondary { display: none; }
  .main-nav .button { padding: 11px 14px; font-size: 12px; gap: 10px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px; gap: 32px; }
  .hero-copy h1 { max-width: 500px; font-size: 42px; }
  .hero-description { font-size: 16px; }
  .hero-stats { gap: 24px; margin-top: 24px; padding-top: 18px; }
  .featured-article { display: grid; grid-template-columns: 1fr 1fr; }
  .featured-art { padding-top: 38px; display: flex; align-items: center; }
  .featured-label { top: 20px; left: 16px; font-size: 7px; }
  .featured-copy { padding: 24px 22px; }
  .featured-copy h2 { font-size: 17px; }
  .library { padding-block: 40px; }
  .library-heading h2 { font-size: 26px; }
  .search-form { padding-left: 14px; gap: 10px; margin-bottom: 28px; }
  .search-form input { font-size: 16px; }
  .search-form .button { padding-inline: 14px; }
  .search-form .button span { display: none; }
  .library-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .topics h3 { margin-top: 0; margin-bottom: 12px; }
  .topic-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: thin; }
  .topic-link { flex: none; border: 1px solid var(--line); padding: 10px 12px; white-space: nowrap; }
  .topic-link.is-active { border-color: var(--deep); }
  .sidebar-note { display: none; }
  .article-card { padding: 22px; min-height: 265px; }
  .article-grid { gap: 14px; }
  .practice-cta { flex-direction: column; align-items: flex-start; padding: 30px; gap: 24px; margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 10px; }
  .brand { font-size: 22px; }
  .main-nav { gap: 16px; font-size: 13px; }
  .main-nav .button span { display: none; }
  .hero-copy h1 { font-size: 38px; }
  .hero-stats { gap: 18px; font-size: 10px; }
  .hero-stats strong { font-size: 18px; }
  .featured-article { display: block; }
  .featured-art { padding-top: 36px; }
  .featured-art svg { max-height: 178px; }
  .featured-label { left: 24px; font-size: 8px; }
  .featured-copy { padding: 22px 24px; }
  .featured-copy h2 { font-size: 20px; }
  .featured-link { margin-top: 18px; }
  .library-heading h2 { font-size: 25px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 240px; padding: 25px; }
  .article-card h3 { font-size: 20px; }
  .article-card p { font-size: 14px; }
  .article-category { font-size: 11px; }
  .pagination { gap: 2px; }
  .pagination button { min-width: 32px; }
  .pagination .page-direction { padding-inline: 6px; }
  .practice-cta { padding: 28px; }
  .practice-cta h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .featured-article:hover { transform: none; }
}
