:root {
  --bg: #f6f3ec;
  --bg-1: #fdfbf7;
  --bg-2: #ece7dd;
  --ink: #151515;
  --ink-2: #5f5a52;
  --ink-3: #8b8478;
  --line: rgba(17, 17, 17, 0.08);
  --line-2: rgba(17, 17, 17, 0.14);
  --accent: #b8cd2a;
  --accent-2: #f26c42;
  --display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(223, 241, 90, 0.14), transparent 45%),
    linear-gradient(180deg, #fbfaf7 0%, #f3efe6 50%, #f7f4ed 100%);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: var(--accent);
  color: #000;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 22px;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(170%) blur(22px);
  -webkit-backdrop-filter: saturate(170%) blur(22px);
  background: rgba(250, 248, 242, 0.78);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.topbar-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 237, 0.92)),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    0 12px 28px rgba(17, 17, 17, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.pill-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow:
    0 16px 32px rgba(17, 17, 17, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.pill-btn.primary {
  border-color: #151515;
  background: #151515;
  color: #fff;
  box-shadow:
    0 14px 30px rgba(17, 17, 17, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 80px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    0 14px 28px rgba(17, 17, 17, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    0 0 0 4px rgba(184, 205, 42, 0.18),
    0 0 10px rgba(184, 205, 42, 0.14);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
  margin-top: 22px;
}

.hero-copy h1,
.article-header h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.4vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.hero-copy p strong,
.article-content strong {
  color: var(--ink);
}

.hero-panel,
.article-card,
.article-list-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 238, 0.92));
  box-shadow: 0 24px 54px rgba(17, 17, 17, 0.08);
}

.hero-panel {
  padding: 28px;
}

.hero-panel h2,
.side-card h2 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-panel ul,
.side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-panel li,
.side-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  line-height: 1.55;
}

.hero-panel li::before,
.side-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: 28px 0 72px;
}

.section-title {
  margin: 0 0 26px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.section-subtitle {
  margin: -8px 0 30px;
  max-width: 760px;
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.62;
}

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

.article-list-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.article-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.article-list-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.article-list-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.read-link span:last-child {
  transition: transform 0.22s ease;
}

.read-link:hover span:last-child {
  transform: translateX(2px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  padding: 52px 0 72px;
}

.article-card {
  padding: 34px 34px 28px;
}

.article-header {
  margin-bottom: 30px;
}

.article-dek {
  max-width: 760px;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.18rem;
  line-height: 1.68;
}

.article-content {
  display: grid;
  gap: 22px;
}

.article-content h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(2.05rem, 3vw, 2.8rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.article-content h3 {
  margin: 6px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.article-content p,
.article-content li,
.article-content blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.82;
  color: var(--ink-2);
}

.article-content ul,
.article-content ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.article-content blockquote {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(17, 17, 17, 0.03);
  border-radius: 18px;
  color: var(--ink);
}

.article-callout {
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(223, 241, 90, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 237, 0.92));
}

.article-callout h3 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.article-callout p {
  color: var(--ink);
}

.side-card {
  padding: 24px;
  position: sticky;
  top: 88px;
  align-self: start;
}

.side-card p {
  margin: 0 0 14px;
  color: var(--ink-2);
  line-height: 1.62;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 56px;
  color: var(--ink-3);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .article-layout,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar-row {
    min-height: 60px;
  }

  .top-actions {
    gap: 8px;
  }

  .pill-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .pill-btn.secondary-mobile-hide {
    display: none;
  }

  .hero {
    padding: 64px 0 28px;
  }

  .hero-copy h1,
  .article-header h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .hero-copy p,
  .article-dek,
  .section-subtitle {
    font-size: 1.05rem;
  }

  .section {
    padding: 18px 0 56px;
  }

  .article-list-card,
  .hero-panel,
  .article-card,
  .side-card {
    padding: 22px;
    border-radius: 24px;
  }

  .article-list-card h3 {
    font-size: 1.72rem;
  }

  .article-content p,
  .article-content li,
  .article-content blockquote {
    font-size: 1rem;
    line-height: 1.76;
  }

  .footer {
    padding-bottom: 40px;
  }
}
