html,
body {
  background-color: #fefaf4;
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fraunces", ui-serif, Georgia, serif;
}

.container-custom {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-wide {
  max-width: 976px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: 80px;
  display: flex;
  align-items: center;
  background-color: #fefaf4;
  border-bottom: 1px solid oklch(0.88 0.02 78);
}

/* bg-background-50 pt-6 md:pt-10 pb-4 md:pb-8 */
.main-section {
  background-color: #fefaf4; /* bg-background-50 */
  padding-top: 1.5rem; /* pt-6 */
  padding-bottom: 1rem; /* pb-4 */
}

@media (min-width: 768px) {
  .main-section {
    padding-top: 2.5rem; /* md:pt-10 */
    padding-bottom: 2rem; /* md:pb-8 */
  }
}

.article-meta {
  text-align: right;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* text-3xl md:text-5xl lg:text-6xl font-bold text-foreground-950 leading-[1.05] tracking-tight mb-5 */
.article-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #050404; /* text-foreground-950 */
  line-height: 1.05; /* leading-[1.05] */
  letter-spacing: -0.025em; /* tracking-tight */
  margin-bottom: 1.25rem; /* mb-5 */
}

@media (min-width: 768px) {
  .article-title {
    font-size: 3rem; /* md:text-5xl */
  }
}

@media (min-width: 1024px) {
  .article-title {
    font-size: 3.75rem; /* lg:text-6xl = 60px */
  }
}

.article-title .highlight {
  color: #b7332b;
  font-style: italic;
}

.body-text {
  font-size: 20px;
  line-height: 1.6;
  color: #262626;
  margin-bottom: 1.5rem;
}

.article-figure {
  background-color: #fefaf4;
  margin: 0 0 1.5rem;
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #6b7280;
  text-align: center;
}

/* mt-8 rounded-lg border border-background-200 bg-background-100/60 p-5 md:p-7 */
.in-article-box {
  margin-top: 2rem; /* mt-8 */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid #f2eade; /* border-background-200 */
  background-color: #fbf6ef; /* bg-background-100/60 */
  padding: 1.25rem; /* p-5 */
}

@media (min-width: 768px) {
  .in-article-box {
    padding: 1.75rem; /* md:p-7 */
  }
}

.in-article-title {
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #050404;
  margin-bottom: 1rem;
}

.in-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  gap: 0.75rem 2rem;
  counter-reset: article-item;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

@media (min-width: 768px) {
  .in-article-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
  }
}

.in-article-list li {
  counter-increment: article-item;
}

.in-article-list li::before {
  content: counter(article-item) ".";
  color: #b7332b;
  font-weight: 700;
  margin-right: 0.35rem;
}

.in-article-list a {
  color: #262626;
  text-decoration: none;
}

.in-article-list a:hover {
  color: #b7332b;
  text-decoration: underline;
}

.hack-section {
  scroll-margin-top: 96px;
}

.hack-divider {
  border: none;
  border-top: 1px solid #f2eade;
  opacity: 1;
  margin: 2.5rem 0;
}

.hack-media-wrap {
  position: relative;
}

.hack-media-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}

/* absolute -top-3 -left-3 md:-top-4 md:-left-4 w-12 h-12 md:w-14 md:h-14 flex items-center justify-center rounded-full bg-primary-500 text-background-50 font-heading font-bold text-xl md:text-2xl border-4 border-background-50 */
.hack-number {
  position: absolute; /* absolute */
  top: -0.75rem; /* -top-3 */
  left: -0.75rem; /* -left-3 */
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  display: flex; /* flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  background-color: #b7332b; /* bg-primary-500 */
  color: #fefaf4; /* text-background-50 */
  font-family: "Fraunces", ui-serif, Georgia, serif; /* font-heading */
  font-weight: 700; /* font-bold */
  font-size: 1.25rem; /* text-xl */
  border-radius: 50%; /* rounded-full */
  border: 4px solid #fefaf4; /* border-4 border-background-50 */
}

@media (min-width: 768px) {
  .hack-number {
    top: -1rem; /* md:-top-4 */
    left: -1rem; /* md:-left-4 */
    width: 3.5rem; /* md:w-14 */
    height: 3.5rem; /* md:h-14 */
    font-size: 1.5rem; /* md:text-2xl */
  }
}

/* font-label text-xs font-semibold uppercase tracking-[0.18em] text-primary-700 mb-2 */
.hack-label {
  font-family: "DM Sans", sans-serif; /* font-label */
  font-size: 0.75rem; /* text-xs */
  font-weight: 600; /* font-semibold */
  text-transform: uppercase;
  letter-spacing: 0.18em; /* tracking-[0.18em] */
  color: #b7332b; /* text-primary-700 */
  margin-bottom: 0.5rem; /* mb-2 */
}

/* font-heading text-2xl md:text-4xl font-bold text-foreground-950 leading-tight mb-4 */
.hack-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: #050404; /* text-foreground-950 */
  line-height: 1.25; /* leading-tight */
  margin-bottom: 1rem; /* mb-4 */
}

@media (min-width: 768px) {
  .hack-title {
    font-size: 2.25rem; /* md:text-4xl */
  }
}

.hack-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #b7332b;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
}

.hack-cta:hover {
  background-color: #9c2b25;
  color: #fff;
}

.hack-checklist-intro {
  font-weight: 700;
  color: #050404;
  margin-bottom: 1.25rem;
}

.hack-checklist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hack-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #e9f7ee;
  border: 1px solid #d5eedd;
  border-radius: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-weight: 600;
  color: #1a1a1a;
}

.hack-checklist-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1f7a4d;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.hack-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: #fbeae8;
  border: 1px solid #f2d2ce;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
}

.hack-warning-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b7332b;
  color: #fff;
  font-size: 0.8rem;
  border-radius: 50%;
}

.hack-warning p {
  margin: 0;
  color: #6b2a26;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hack-warning p strong {
  color: #b7332b;
}

.hack-scam-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hack-scam-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hack-scam-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #fbf6ef;
  border: 1px solid #f2eade;
  border-radius: 0.5rem;
  padding: 1rem;
}

.hack-scam-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3dfc0;
  color: #4a3a22;
  font-size: 1.1rem;
  border-radius: 0.5rem;
}

.hack-scam-card span:last-child {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-weight: 400;
  color: #050404;
  line-height: 1.25;
}

.site-footer {
  background-color: #faf5ec;
  border-top: 1px solid #f2eade;
  padding: 2rem 0 1rem;
  margin-top: 2.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-disclosure {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.footer-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #e5dbc8;
  opacity: 1;
  margin: 10px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

footer a {
	text-decoration: none;
	color: #050404;
}

footer a:hover {
	text-decoration: underline;
}