:root {
  color-scheme: light;
  --ink: #142225;
  --muted: #5b6d70;
  --soft: #edf4f2;
  --line: #d7e3e0;
  --brand: #0e5a63;
  --brand-dark: #093d44;
  --accent: #d88a2d;
  --paper: #f8faf9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.material-symbols-rounded {
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  width: 1em;
  height: 1em;
  font-family: "Material Symbols Rounded";
  font-size: 1.25em;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 249, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
}

.logo img {
  width: 150px;
  height: 100px;
  max-width: none;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links .material-symbols-rounded {
  color: var(--brand);
  font-size: 1.15rem;
}

.nav-links a[aria-current="page"] {
  color: var(--brand);
  font-weight: 800;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.mobile-nav-links {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(20, 34, 37, 0.14);
}

.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.mobile-nav-links a[aria-current="page"] {
  color: var(--brand);
  background: var(--soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(14, 90, 99, 0.18);
}

.hero {
  background: linear-gradient(135deg, var(--soft) 0%, var(--paper) 50%, #fff6ea 100%);
  border-bottom: 1px solid var(--line);
}

.blog-hero .hero-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 42px;
  padding: 42px 0 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.blog-hero h1,
.post-page h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: #334548;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}

.update-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(9, 61, 68, 0.1);
}

.update-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.update-panel p {
  margin-bottom: 18px;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

section {
  padding: 56px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-date,
.post-category {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-category {
  margin-bottom: 10px;
  color: var(--accent);
}

.post-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.post-card p + p {
  margin-top: 12px;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.read-link,
.back-link {
  color: var(--brand);
  font-weight: 800;
}

.read-link .material-symbols-rounded,
.back-link .material-symbols-rounded {
  font-size: 1.1rem;
}

.note-band {
  background: var(--brand-dark);
  color: var(--white);
}

.note-band p,
.note-band .eyebrow {
  color: #c4dcdf;
}

.note-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.note-list {
  display: grid;
  gap: 16px;
}

.note-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.note-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--white);
}

.note-item .material-symbols-rounded {
  color: var(--accent);
  font-size: 1.25rem;
}

.post-page {
  padding: 82px 0;
}

.post-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.post-shell .back-link {
  display: inline-flex;
  margin-bottom: 42px;
}

.post-shell .post-date {
  margin-top: 22px;
}

.post-body {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.post-body p,
.post-body li {
  color: #334548;
  font-size: 1.12rem;
}

.post-body h2,
.post-body h3 {
  margin-top: 18px;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.post-body th,
.post-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.post-body th {
  background: #eef5f4;
  color: var(--teal-dark);
  font-weight: 700;
}

.legal-hero .update-panel p {
  margin-bottom: 18px;
}

.legal-page {
  padding-top: 64px;
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-shell > h2 {
  max-width: 720px;
  margin-bottom: 28px;
}

.legal-body {
  display: grid;
  gap: 26px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-body article {
  display: grid;
  gap: 10px;
}

.legal-body article + article {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-body p {
  color: #334548;
}

.legal-body a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-note .material-symbols-rounded {
  color: var(--accent);
  font-size: 1.05rem;
  font-variation-settings: "FILL" 1;
}

.footer-row {
  flex-basis: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a[aria-current="page"] {
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 900px) {
  .blog-hero .hero-inner,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero .hero-inner {
    min-height: auto;
  }

  .post-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .blog-hero .hero-inner,
  .section-inner,
  .footer-inner,
  .post-shell,
  .legal-shell {
    width: min(100% - 28px, 1120px);
  }

  .blog-hero .hero-inner {
    padding: 34px 0 36px;
  }

  section,
  .post-page {
    padding: 42px 0;
  }

  .post-card,
  .update-panel,
  .legal-body {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
