:root {
  --ink: #0a0a0b;
  --paper: #f7f5f0;
  --card: #ffffff;
  --muted: #65656a;
  --line: #d9d6cf;
  --violet: #7357f6;
  --violet-dark: #5337d5;
  --mint: #b9f5d0;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(10, 10, 11, .1);
  background: rgba(247, 245, 240, .88);
  backdrop-filter: blur(18px);
}

.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: white; }

.hero { padding: 92px 0 72px; border-bottom: 1px solid var(--line); }
.kicker { color: var(--violet-dark); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 20px 0 24px; font-size: clamp(50px, 8vw, 104px); line-height: .92; letter-spacing: -.065em; }
.hero h1 span { color: var(--muted); }
.hero-copy { max-width: 650px; margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--muted); }

.featured { padding: 56px 0 70px; }
.featured-card { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 460px; overflow: hidden; border: 1px solid var(--ink); border-radius: 28px; background: var(--card); }
.feature-art { min-height: 410px; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: radial-gradient(circle at 77% 18%, #9e8aff 0 8%, transparent 9%), radial-gradient(circle at 77% 18%, rgba(158,138,255,.26) 0 24%, transparent 25%), linear-gradient(145deg, #0b0b0d 16%, #231b4a 67%, #7458f6 130%); }
.feature-art-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.feature-stat { font-size: clamp(70px, 9vw, 132px); line-height: .75; font-weight: 850; letter-spacing: -.08em; }
.feature-stat small { display: block; margin-top: 28px; font-size: 16px; line-height: 1.35; letter-spacing: 0; font-weight: 600; color: rgba(255,255,255,.7); }
.feature-body { padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 650; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.feature-body h2 { margin: 24px 0 18px; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.feature-body p { margin: 0 0 30px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.read-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--violet-dark); font-weight: 800; text-decoration: none; }
.read-link span { transition: transform .2s ease; }
.read-link:hover span { transform: translateX(4px); }

.section-head { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); }
.articles { padding: 28px 0 100px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 410px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--card); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 0 18px 45px rgba(10,10,11,.08); }
.card-number { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-weight: 800; }
.article-card h3 { margin: auto 0 16px; font-size: 31px; line-height: 1.05; letter-spacing: -.04em; }
.article-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.55; }

.thoughts-section { padding: 90px 0 110px; border-top: 1px solid var(--line); }
.thoughts-heading { align-items: end; }
.thoughts-heading .kicker { margin-bottom: 14px; }
.thoughts-heading p { max-width: 470px; line-height: 1.55; }
.thoughts-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.thought-form { padding: 30px; display: grid; gap: 10px; border: 1px solid var(--ink); border-radius: 24px; background: var(--card); }
.thought-form label { margin-top: 8px; font-size: 13px; font-weight: 800; }
.thought-form input, .thought-form textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.thought-form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.thought-form input:focus, .thought-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(115,87,246,.12); }
.form-footer { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-footer span { max-width: 260px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.form-footer button { flex: 0 0 auto; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--violet); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.form-footer button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 21px; margin: 4px 0 0; font-size: 13px; font-weight: 700; }
.form-status.success { color: #167342; }
.form-status.error { color: #b42318; }
.thought-feed { min-height: 360px; }
#thought-list { display: grid; gap: 12px; }
.thought-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.thought-top { display: flex; align-items: center; gap: 11px; }
.thought-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 800; }
.thought-top strong, .thought-top span { display: block; }
.thought-top span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.thought-card p { margin: 17px 0 15px; line-height: 1.58; overflow-wrap: anywhere; }
.report-button { padding: 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.report-button:hover { color: #b42318; }
.thought-empty { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.thought-empty strong { margin-bottom: 6px; color: var(--ink); font-size: 19px; }

.newsletter { margin-bottom: 100px; padding: clamp(38px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 28px; background: var(--ink); color: white; }
.newsletter h2 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; }
.newsletter p { max-width: 560px; margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; }
.button { flex: 0 0 auto; display: inline-flex; padding: 15px 22px; border-radius: 999px; background: var(--violet); color: white; text-decoration: none; font-weight: 800; }
.button:hover { background: #846cff; }

.site-footer { padding: 34px 0 46px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }

.article-hero { padding: 90px 0 58px; border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: 920px; }
.article-hero h1 { margin: 22px 0 28px; font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -.06em; }
.dek { max-width: 760px; margin: 0 0 30px; color: var(--muted); font-size: 21px; line-height: 1.55; }
.article-wrap { display: grid; grid-template-columns: 220px minmax(0, 730px); gap: 70px; padding: 64px 0 96px; }
.article-aside { position: sticky; top: 110px; align-self: start; color: var(--muted); font-size: 13px; line-height: 1.6; }
.article-aside strong { display: block; margin-bottom: 8px; color: var(--ink); }
.article-content { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.78; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { margin: 60px 0 18px; font-family: Inter, sans-serif; font-size: 38px; line-height: 1.08; letter-spacing: -.04em; }
.article-content h3 { margin: 36px 0 12px; font-family: Inter, sans-serif; font-size: 24px; letter-spacing: -.025em; }
.article-content p { margin: 0 0 25px; }
.article-content ul, .article-content ol { padding-left: 26px; }
.article-content li { margin-bottom: 12px; }
.callout { margin: 38px 0; padding: 28px; border-left: 5px solid var(--violet); background: white; font-family: Inter, sans-serif; font-size: 17px; line-height: 1.6; }
.article-cta { margin-top: 64px; padding: 36px; border-radius: 22px; background: var(--ink); color: white; font-family: Inter, sans-serif; }
.article-cta h2 { margin: 0 0 12px; color: white; }
.article-cta p { color: rgba(255,255,255,.68); }

@media (max-width: 850px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 70px; }
  .featured-card { grid-template-columns: 1fr; }
  .feature-art { min-height: 340px; }
  .article-grid { grid-template-columns: 1fr; }
  .thoughts-layout { grid-template-columns: 1fr; }
  .article-card { min-height: 330px; }
  .newsletter { align-items: flex-start; flex-direction: column; }
  .article-wrap { grid-template-columns: 1fr; gap: 28px; }
  .article-aside { position: static; }
}

@media (max-width: 540px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .nav { min-height: 66px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 27px; height: 27px; }
  .nav-cta { padding: 9px 13px; }
  .hero { padding: 60px 0 52px; }
  .featured { padding-top: 28px; }
  .feature-art, .feature-body { padding: 28px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .article-hero { padding: 58px 0 44px; }
  .article-content { font-size: 18px; }
  .article-content h2 { font-size: 32px; }
}
