@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --white: #ffffff;
  --off: #f7f6f2;
  --teal: #0f766e;
  --teal-light: #14b8a6;
  --muted: #667085;
  --border: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

nav {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(18px);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-tag {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.article-hero {
  padding: 9.5rem 5% 5rem;
  background: var(--black);
  color: var(--white);
}

.article-hero-inner,
.article-body-inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: var(--white);
}

.article-date {
  margin-bottom: 1rem;
  color: var(--teal-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.dek {
  max-width: 720px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.article-body {
  padding: 5rem 5% 6rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 1.4rem;
  color: #344054;
  font-size: 1.06rem;
}

.article-body h2 {
  margin: 3.25rem 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.article-body h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.18rem;
  font-weight: 800;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35rem;
}

.article-body li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.article-body strong {
  color: var(--black);
}

.callout {
  margin: 2.5rem 0;
  padding: 1.6rem 1.8rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: var(--off);
}

.callout p {
  margin: 0;
  color: var(--black);
  font-weight: 700;
}

.article-cta {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 14px;
  background: var(--off);
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  margin-bottom: 1.25rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 5%;
  background: var(--black-2);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
}

.footer-name {
  color: var(--white);
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 1.3rem;
}

.footer-links a {
  text-decoration: none;
}

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

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

  .article-hero {
    padding-top: 8rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .logo-tag {
    display: none;
  }

  nav,
  .article-hero,
  .article-body,
  footer {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .article-cta {
    padding: 1.5rem;
  }
}
