:root {
  --ink: #0b1722;
  --muted: #526271;
  --paper: #f7fafc;
  --surface: #ffffff;
  --navy: #081623;
  --navy-soft: #0d2537;
  --teal: #18a999;
  --teal-bright: #38d6c4;
  --line: #dbe4ea;
  --line-dark: rgba(255, 255, 255, 0.13);
  --shadow: 0 22px 60px rgba(8, 22, 35, 0.12);
  --radius: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 4px;
  border-radius: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.narrow-shell {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--teal-bright);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(8, 22, 35, 0.96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--teal-bright);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}

.brand-copy span {
  margin-top: 3px;
  color: #9fb0bd;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  position: relative;
  color: #c5d0d8;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--teal-bright);
  transition: right 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  right: 0;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 214, 196, 0.16), transparent 25%),
    linear-gradient(135deg, var(--navy) 0%, #0b2030 58%, #0b2a39 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent 12%, black 72%);
}

.hero-grid {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 80px;
  padding-block: 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.focus-card .card-label {
  color: var(--teal-bright);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 9vw, 7.6rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 720px;
  margin: 32px 0 0;
  color: #c8d4dc;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy);
  background: var(--teal-bright);
}

.button-primary:hover {
  background: #70e5d8;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin: 54px 0 0;
}

.profile-facts div {
  min-width: 130px;
}

.profile-facts dt {
  color: #8094a3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 4px 0 0;
  color: #eef4f7;
  font-size: 14px;
}

.focus-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.focus-card h2 {
  position: relative;
  margin: 16px 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.18;
}

.card-label {
  position: relative;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-orbit {
  position: absolute;
  top: -52px;
  right: -48px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(56, 214, 196, 0.24);
  border-radius: 50%;
}

.focus-orbit::before,
.focus-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(56, 214, 196, 0.19);
  border-radius: 50%;
}

.focus-orbit::before {
  inset: 30px;
}

.focus-orbit::after {
  inset: 66px;
}

.focus-orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(56, 214, 196, 0.8);
}

.focus-orbit span:nth-child(1) { left: 21px; top: 74px; }
.focus-orbit span:nth-child(2) { right: 38px; bottom: 34px; }
.focus-orbit span:nth-child(3) { left: 88px; bottom: 55px; }

.tag-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  color: #dce7ec;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 12px;
}

.section {
  padding-block: 112px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading h2,
.split-section h2,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading h2,
.split-section h2 {
  font-size: clamp(2.25rem, 5vw, 4.1rem);
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 169, 153, 0.45);
  box-shadow: var(--shadow);
}

.feature-number {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.feature-card h3 {
  margin: 46px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #087d72;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

a:hover > .text-link span,
.text-link:hover span {
  transform: translateX(4px);
}

.section-tinted {
  background: #eaf1f4;
  border-block: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
  align-items: start;
}

.lead-prose {
  font-size: 18px;
}

.page-hero {
  padding: 100px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 214, 196, 0.14), transparent 26%),
    var(--navy);
}

.page-hero h1 {
  font-size: clamp(3.3rem, 8vw, 6.4rem);
}

.page-hero > div > p:last-child:not(.eyebrow) {
  max-width: 700px;
  margin: 25px 0 0;
  color: #b9c8d2;
  font-size: 20px;
}

.page-body {
  padding-block: 80px 120px;
}

.prose {
  color: #293a48;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose h2 {
  margin: 2.2em 0 0.7em;
  font-size: 2.15rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.9em 0 0.55em;
  font-size: 1.45rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-block: 1.1em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose a {
  color: #087d72;
  font-weight: 700;
}

.prose blockquote {
  margin: 2.2em 0;
  padding: 20px 24px;
  color: #314b57;
  background: #e8f4f2;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
}

.prose code {
  padding: 0.16em 0.38em;
  background: #e7eef2;
  border-radius: 5px;
  font-size: 0.88em;
}

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

.post-preview {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-preview h2 {
  margin: 5px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.post-preview h2 a {
  text-decoration: none;
}

.post-preview > p:not(.post-meta) {
  color: var(--muted);
}

.post-meta {
  margin: 0;
  color: #70818d;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state {
  padding: 65px 45px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty-mark {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
}

.empty-state h2 {
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.empty-state p {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
}

.post-header {
  padding-block: 100px 65px;
}

.post-header h1 {
  margin: 14px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.post-deck {
  color: var(--muted);
  font-size: 20px;
}

.article-shell {
  max-width: 740px;
  padding-bottom: 120px;
}

.site-footer {
  color: #adbec9;
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 50px;
  padding-block: 60px;
}

.footer-brand {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  text-decoration: none;
}

.footer-grid p {
  max-width: 460px;
  margin: 10px 0 0;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 30px;
}

.footer-links a {
  color: #d9e3e9;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal-bright);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav summary {
    padding: 8px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    list-style: none;
  }

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

  .mobile-nav nav {
    position: absolute;
    top: 48px;
    right: 0;
    width: min(260px, calc(100vw - 40px));
    display: grid;
    padding: 10px;
    background: #102739;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a {
    padding: 10px 12px;
    color: #e6eef2;
    text-decoration: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 78px;
  }

  .hero h1 {
    font-size: clamp(4rem, 16vw, 6.8rem);
  }

  .focus-card {
    max-width: 620px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 260px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-grid {
    padding-block: 62px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 20vw, 5.4rem);
  }

  .hero-intro {
    margin-top: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .profile-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 42px;
  }

  .profile-facts div:last-child {
    grid-column: 1 / -1;
  }

  .focus-card {
    padding: 27px;
  }

  .section {
    padding-block: 78px;
  }

  .feature-card {
    min-height: 290px;
    padding: 25px;
  }

  .page-hero {
    padding: 74px 0 55px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .page-hero > div > p:last-child:not(.eyebrow) {
    font-size: 17px;
  }

  .page-body {
    padding-block: 58px 85px;
  }

  .prose h2 {
    font-size: 1.8rem;
  }

  .empty-state {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

