:root {
  color-scheme: light;
  --ink: #202625;
  --muted: #69716d;
  --paper: #faf9f6;
  --green: #e4ece2;
  --blue: #e8eff0;
  --peach: #f4e9e0;
  --line: rgba(32, 38, 37, .12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px clamp(22px, 6vw, 88px); }
.site-header { border-bottom: 1px solid var(--line); }
.wordmark { font-size: 23px; letter-spacing: -.07em; font-weight: 750; text-decoration: none; }
.wordmark__lie { color: #e3423a; }
.wordmark__dot { color: var(--ink); }
nav { display: flex; gap: 30px; }
nav a, .site-footer > a:not(.wordmark) { font-size: 14px; text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { min-height: 560px; position: relative; overflow: hidden; padding: 105px clamp(22px, 12vw, 170px) 90px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .text-page h1 { position: relative; z-index: 1; max-width: 640px; margin: 0; font-size: clamp(54px, 8.4vw, 106px); line-height: .98; letter-spacing: -.05em; font-weight: 620; }
.hero-copy { position: relative; z-index: 1; max-width: 430px; margin: 28px 0 25px; color: #505a56; font-size: 18px; line-height: 1.55; }
.text-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-art { position: absolute; width: 420px; height: 390px; right: clamp(10px, 8vw, 120px); top: 72px; transform: rotate(5deg); }
.sun { position: absolute; width: 245px; height: 245px; right: 47px; top: 30px; border-radius: 50%; background: #e6a37c; }
.paper { position: absolute; width: 205px; height: 265px; border-radius: 8px; box-shadow: 0 22px 46px #303b3820; }
.paper-one { top: 76px; left: 24px; background: #fffdf5; transform: rotate(-13deg); }
.paper-two { top: 89px; left: 150px; background: #edf1e6; transform: rotate(12deg); }
.note { position: absolute; z-index: 1; padding: 12px 18px; border: 1px solid #303b3822; background: #fffdf5; box-shadow: 0 10px 25px #303b3810; font: 600 13px/1.3 ui-monospace, SFMono-Regular, monospace; }
.note-one { top: 135px; left: 13px; transform: rotate(-8deg); }
.note-two { top: 225px; left: 206px; transform: rotate(6deg); background: #dce8eb; }
.line { position: absolute; z-index: 1; height: 1px; background: #707b7440; }
.line-one { top: 191px; left: 50px; width: 80px; transform: rotate(-8deg); }
.line-two { top: 248px; left: 208px; width: 85px; transform: rotate(2deg); }
.latest { padding: 76px clamp(22px, 8vw, 118px) 80px; border-top: 1px solid var(--line); }
.latest > .eyebrow { margin-bottom: 25px; }
.latest-empty { grid-column: 1 / -1; margin: 0; padding: 25px 27px; border-radius: 12px; background: #f0efe9; color: #69716d; font-size: 15px; line-height: 1.6; }
.section-heading--compact { align-items: end; margin-bottom: 25px; }
.section-heading--compact h2 { font-size: clamp(34px, 4.4vw, 50px); }
.section-heading--compact .text-link { margin-bottom: 5px; }
.topics { padding: 75px clamp(22px, 8vw, 118px) 95px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 57px); line-height: 1.04; letter-spacing: -.035em; font-weight: 570; }
.section-heading .eyebrow { margin-bottom: 8px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.topic-card { display: block; min-height: 250px; position: relative; padding: 25px 25px 30px; border-radius: 12px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.topic-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #303b3810; }
.topic-card:focus-visible, .article-card a:focus-visible, nav a:focus-visible { outline: 2px solid #557d66; outline-offset: 4px; }
.topic-card--blue { background: var(--blue); }
.topic-card--peach { background: var(--peach); }
.topic-card--green { background: var(--green); }
.topic-number { font-size: 11px; color: #66716d; }
.topic-icon { position: absolute; top: 48px; right: 24px; width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topic-card h3 { margin: 54px 0 10px; font-size: 24px; letter-spacing: -.025em; font-weight: 620; }
.topic-card p { max-width: 300px; margin: 0; color: #525c58; font-size: 14px; line-height: 1.55; }
.topic-arrow { position: absolute; right: 24px; top: 21px; font-size: 20px; }
.editor-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 clamp(22px, 8vw, 118px) 90px; padding: 32px 38px; border-radius: 12px; background: #f0eee9; }
.editor-note .eyebrow { flex: 0 0 auto; margin: 0; }
.editor-note__copy { max-width: 570px; margin: 0 auto; font-size: clamp(18px, 2.3vw, 25px); line-height: 1.4; letter-spacing: -.025em; }
.editor-note__mark { color: #ef8351; font-size: 60px; font-weight: 750; letter-spacing: -.12em; }
.article-index { max-width: 1040px; margin: 0 auto; padding: 90px 28px 100px; }
.article-index h1 { margin: 0; font-size: clamp(54px, 8vw, 88px); letter-spacing: -.05em; font-weight: 620; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.topic-filters a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #636b65; font-size: 11px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.topic-filters a:hover, .topic-filters a[aria-current="page"] { border-color: #d7e2d5; background: #e7eee4; color: #34473a; }
.filter-empty { padding: 20px 0; color: var(--muted); font-size: 14px; }
[hidden] { display: none !important; }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.latest .article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border: 1px solid transparent; border-radius: 12px; background: #fffefa; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #303b3810; }
.article-card--everyday-tech { background: #edf2f2; }
.article-card--habits-work { background: #f5ece4; }
.article-card--useful-tools { background: #edf1e9; }
.article-card--other { background: #f0edf3; }
.article-card__main { color: inherit; text-decoration: none; }
.article-card__meta { display: flex; align-items: center; gap: 10px; margin: 0; color: #7a817c; font-size: 10px; letter-spacing: .03em; }
.topic-label { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #ffffffa8; color: #59635c; font-size: 10px; letter-spacing: 0; }
.topic-label--everyday-tech { background: #d9e7e8; }
.topic-label--habits-work { background: #efded0; }
.topic-label--useful-tools { background: #dce7d8; }
.topic-label--other { background: #e4deeb; }
.draft-pill { display: inline-block; margin-bottom: 15px; padding: 5px 8px; border-radius: 2px; background: #f0ded1; color: #65462f; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-card h2 { max-width: 540px; margin: 25px 0 10px; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.18; letter-spacing: -.025em; font-weight: 620; }
.article-card h2 a { text-decoration: none; }
.article-card h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.article-card__main > p:not(.article-card__meta) { color: #59625e; font-size: 14px; line-height: 1.6; }
.article-card__read { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 18px; color: #3e5145; font-size: 12px; font-weight: 650; text-decoration: none; }
.article-card__read:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-page { max-width: 810px; margin: 0 auto; padding: 75px 28px 110px; }
.back-link { display: inline-block; margin-bottom: 55px; color: var(--muted); font-size: 13px; text-decoration: none; }
.article-page header h1 { margin: 0; font-size: clamp(43px, 7vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 620; }
.article-lead { margin: 24px 0 55px; color: #59625e; font-size: 22px; line-height: 1.5; }
.prose { max-width: 680px; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.prose p { margin: 0 0 25px; }
.prose h2 { margin: 53px 0 17px; font-size: 31px; line-height: 1.1; letter-spacing: -.045em; }
.prose h3 { margin: 40px 0 13px; font-size: 23px; letter-spacing: -.035em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose .article-figure { margin: 38px 0; }
.prose .article-figure img { display: block; max-width: 100%; max-height: 680px; width: auto; height: auto; margin: 0 auto; border-radius: 10px; background: #f0f1ed; }
.prose .article-figure figcaption { max-width: 560px; margin: 10px auto 0; color: #7a817c; font-size: 13px; line-height: 1.55; }
.prose blockquote { margin: 35px 0; padding: 3px 0 3px 22px; border-left: 2px solid #e6a37c; color: #59625e; }
.prose ul { margin: 0 0 28px; padding-left: 24px; }
.prose li { padding-left: 5px; margin: 8px 0; }
.prose code { padding: 2px 5px; background: #ecebe5; font-size: .86em; }
.draft-note { padding: 13px 16px; background: #f0ded1; font-size: 13px; }
.site-footer { min-height: 100px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.site-footer p, .site-footer small { color: var(--muted); font-size: 12px; }
.text-page { max-width: 900px; margin: 0 auto; padding: 100px 28px 95px; }
.text-page h1 { max-width: none; font-size: clamp(54px, 8vw, 90px); }
.text-page__lead { max-width: 650px; margin: 30px 0 70px; color: #505a56; font-size: 23px; line-height: 1.5; }
.text-page__body { max-width: 620px; margin: 0 0 50px auto; }
.text-page__body h2 { margin: 42px 0 13px; font-size: 25px; letter-spacing: -.04em; }
.text-page__body p { color: #505a56; font-size: 17px; line-height: 1.7; }
.text-page__body .draft-note, .text-page__body .preview-status { margin-top: 38px; padding: 16px 20px; border-left: 3px solid #e6a37c; background: #f0ded166; font-size: 14px; }
@media (max-width: 1050px) {
  .latest .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero { min-height: 690px; padding-top: 80px; }
  .hero-art { top: 305px; right: 5%; transform: scale(.83) rotate(5deg); transform-origin: top right; }
  .topic-grid { grid-template-columns: 1fr; }
  .article-list, .latest .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { min-height: 220px; }
  .topic-card h3 { margin-top: 35px; }
  .editor-note { align-items: flex-start; padding: 25px; }
  .editor-note__copy { margin: 0; }
}
@media (max-width: 540px) {
  .site-header, .site-footer { padding: 20px 22px; }
  .site-header { gap: 10px; }
  nav { gap: 10px; }
  nav a { font-size: 12px; }
  .hero { min-height: 655px; padding: 76px 22px 60px; }
  .hero-copy { font-size: 16px; }
  .hero-art { right: -35px; top: 337px; transform: scale(.72) rotate(5deg); }
  .topics { padding: 65px 22px 75px; }
  .latest { padding: 65px 22px 70px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: 17px; }
  .topic-card { padding: 22px; }
  .article-list, .latest .article-list { grid-template-columns: 1fr; }
  .section-heading--compact .text-link { margin-top: 18px; }
  .editor-note { margin: 0 22px 70px; flex-direction: column; gap: 20px; }
  .editor-note__mark { display: none; }
  .site-footer { justify-content: flex-start; }
  .site-footer p { flex-basis: 100%; margin: 0; }
  .site-footer small { margin-left: auto; }
  .text-page { padding: 75px 22px; }
}
