@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f5f4f2;
  --surface: #fff;
  --ink: #24211f;
  --muted: #635b54;
  --line: #ded8d2;
  --well: #f5f3f0;
  --accent: #ae3909;
  --accent-background: #ffebde;
  --heading: Montserrat, system-ui, sans-serif;
  font-family: Inter, system-ui, sans-serif;
  background: var(--background);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; }
img { display: block; object-fit: contain; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-background); color: var(--accent); }
.frame { width: min(100% - 88px, 1180px); margin-inline: auto; }

.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 650 1.28rem var(--heading); letter-spacing: -.055em; text-decoration: none; }
nav, .hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-link, .text-link { font-size: .9rem; font-weight: 550; color: var(--muted); text-underline-offset: .24em; }
.nav-link { text-decoration: none; }
:is(.nav-link, .text-link):hover { color: var(--ink); text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 0 1.2rem; border: 1px solid transparent; border-radius: 999px; background: #161616; color: #fff; font-size: .94rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.button:hover { background: #34302c; }
.button-outline { min-height: 43px; border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--surface); }

.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 94px); padding-block: clamp(72px, 9.5vw, 142px) clamp(74px, 9vw, 125px); }
.hero h1 { max-width: 11ch; font: 650 clamp(2.9rem, 5vw, 5.2rem)/1.01 var(--heading); letter-spacing: -.075em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 42ch; margin-top: 1.55rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; }
.hero-actions { margin-top: 1.8rem; flex-wrap: wrap; row-gap: .9rem; }
.radar { min-width: 0; padding: clamp(17px, 2.4vw, 29px); border: 1px solid #e6dfd8; border-radius: 30px; background: var(--surface); box-shadow: 0 26px 74px #3a2a2112, 0 2px 6px #31241a06; }
.radar-header, .radar-project, .lead-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.radar-project { justify-content: flex-start; min-width: 0; }
.radar-icon { display: grid; width: 43px; height: 43px; flex: none; place-items: center; border-radius: 13px; background: var(--well); }
.radar-project strong { display: block; margin-bottom: .14rem; font: 650 .97rem var(--heading); }
.radar-caption, .source-count, .lead-meta { color: var(--muted); font-size: .82rem; }
.source-count { display: inline-flex; align-items: center; gap: .42rem; }
.source-count > span, .week i { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .28rem; margin-block: 1.25rem 1rem; }
.week > div { position: relative; display: grid; justify-items: center; align-content: center; gap: .2rem; min-height: 57px; padding: .3rem .1rem .5rem; border-radius: 11px; background: var(--well); }
.week > div > span { color: var(--muted); font-size: .76rem; }
.week > div > strong { font-size: .94rem; font-weight: 650; }
.week > .week-selected { background: var(--accent-background); color: var(--accent); }
.week i { position: absolute; bottom: .28rem; width: 4px; height: 4px; }
.radar-leads { display: grid; gap: .65rem; }
.lead { padding: .9rem 1rem; border: 1px solid #e9e3de; border-radius: 15px; }
.tag { display: inline-flex; align-items: center; padding: .28rem .56rem; border-radius: 999px; background: var(--well); color: #504741; font-size: .78rem; font-weight: 650; }
.tag-intent { background: var(--accent-background); color: var(--accent); }
.lead h2 { margin-top: .55rem; font: 650 1rem/1.35 var(--heading); letter-spacing: -.027em; }
.lead p { margin-top: .3rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.how { padding-block: clamp(60px, 8vw, 108px); border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.how-intro { max-width: 670px; margin-bottom: clamp(30px, 5vw, 58px); }
.how h2, .closing h2 { font: 650 clamp(2.15rem, 4vw, 3.8rem)/1.1 var(--heading); letter-spacing: -.065em; text-wrap: balance; }
.how-intro > p, .closing p { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.how-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); align-items: center; gap: clamp(30px, 8vw, 115px); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font: 650 1.08rem var(--heading); letter-spacing: -.026em; }
.steps p { margin-top: .48rem; color: var(--muted); line-height: 1.62; }
.reply { padding: clamp(23px, 4vw, 45px); border-radius: 27px; background: #f9e9df; }
.reply-label { color: var(--accent); font-size: .9rem; font-weight: 650; }
.reply blockquote { margin-top: 1.05rem; font: 550 clamp(1.12rem, 2vw, 1.45rem)/1.56 var(--heading); letter-spacing: -.035em; }
.reply-note { margin-top: 1.2rem; color: var(--muted); line-height: 1.5; }
.closing { padding-bottom: clamp(56px, 7vw, 86px); }
.closing-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(26px, 5vw, 55px); border: 1px solid #e6dfd8; border-radius: 28px; background: var(--surface); }
.closing h2 { font-size: clamp(1.85rem, 3.3vw, 3.1rem); }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding-block: 14px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .frame { width: min(100% - 56px, 720px); }
  .hero { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero h1 { max-width: 14ch; font-size: clamp(3rem, 8vw, 5.1rem); }
  .radar { width: min(100%, 590px); }
}

@media (max-width: 570px) {
  .frame { width: calc(100% - 36px); }
  .site-header { min-height: 70px; }
  nav { gap: .6rem; }
  nav .nav-link { display: none; }
  .hero { padding-block: 55px 64px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.85rem); }
  .hero-copy > p { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.4rem; gap: .9rem; }
  .radar { padding: 14px; border-radius: 22px; }
  .radar-header { gap: .45rem; }
  .radar-project { gap: .5rem; }
  .radar-icon { width: 35px; height: 35px; }
  .source-count { font-size: .74rem; }
  .week { gap: .2rem; }
  .week > div { min-height: 50px; border-radius: 8px; }
  .week > div > span { font-size: .69rem; }
  .lead { padding: .8rem; }
  .how-content { grid-template-columns: 1fr; }
  .closing-panel { align-items: start; flex-direction: column; }
}
