:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #5e6470;
  --soft: #7d8490;
  --hairline: #e4e7ec;
  --paper: #ffffff;
  --wash: #f7f8fa;
  --blue: #2f6fed;
  --yellow: #ffd84d;
  --shadow: 0 20px 60px rgba(22, 28, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 88px;
  padding: 0 64px;
  border-bottom: 1px solid rgba(228, 231, 236, 0.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 310px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  flex: 1;
}

.nav-links a,
.site-footer a {
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.feature-row:hover .feature-title {
  color: var(--blue);
}

.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 560;
  text-decoration: none;
}

.search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -7px;
  bottom: -4px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 62px;
  align-items: center;
  max-width: 1800px;
  min-height: 670px;
  margin: 0 auto;
  padding: 80px 96px 62px;
}

.eyebrow,
.section-label,
.feature-kicker {
  color: var(--blue);
  font-size: 15px;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 28px;
}

h1 {
  max-width: 860px;
  margin: 0;
  color: #101116;
  font-size: clamp(70px, 7.2vw, 138px);
  font-weight: 540;
  line-height: 0.92;
}

.hero-text {
  max-width: 890px;
  margin: 42px 0 0;
  color: #565b66;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.45;
}

.disclaimer {
  max-width: 780px;
  margin: 18px 0 0;
  color: #7a808c;
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-link {
  background: var(--ink);
  color: #fff;
}

.secondary-link {
  border: 1px solid var(--hairline);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  display: block;
  width: min(100%, 720px);
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.accent-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 18px 40px rgba(255, 216, 77, 0.28);
}

.accent-dot.large {
  top: -32px;
  left: 4%;
  width: 78px;
  height: 78px;
}

.accent-dot.small {
  top: 54px;
  right: 24%;
  width: 42px;
  height: 42px;
}

.section-intro {
  max-width: 1680px;
  margin: 0 auto;
  padding: 34px 96px 28px;
  border-top: 2px solid #222631;
}

.section-label {
  margin: 0 0 18px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 76px);
  line-height: 1;
  font-weight: 560;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px 96px 110px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 0.7fr);
  gap: 18px 38px;
  padding: 34px 0 36px;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
}

.feature-row-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(150px, 0.16fr) minmax(0, 0.84fr);
}

.feature-title {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 560;
  line-height: 1.06;
}

.feature-copy {
  grid-column: 2;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-meta {
  grid-column: 2;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.muted-row {
  cursor: default;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 30px 64px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
}

.notes-hero,
.note-detail {
  max-width: 1500px;
  margin: 0 auto;
  padding: 96px 96px 62px;
}

.notes-hero h1,
.note-detail h1 {
  max-width: 1120px;
}

.notes-list {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 96px 110px;
}

.note-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 18px 42px;
  padding: 36px 0 38px;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
}

.note-row:hover .note-title {
  color: var(--blue);
}

.note-title {
  font-size: clamp(30px, 3.2vw, 54px);
  font-weight: 560;
  line-height: 1.08;
}

.note-copy {
  grid-column: 2;
  max-width: 900px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.pdf-panel {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 96px 110px;
}

.pdf-panel iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--wash);
}

@media (max-width: 1100px) {
  .site-header {
    gap: 22px;
    padding: 0 28px;
  }

  .brand {
    min-width: auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
    padding-left: 34px;
    padding-right: 34px;
  }

  .section-intro {
    padding-left: 34px;
    padding-right: 34px;
  }

  .notes-hero,
  .note-detail,
  .notes-list,
  .pdf-panel {
    padding-left: 34px;
    padding-right: 34px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 16px;
  }

  .search-pill {
    display: none;
  }

  .hero {
    gap: 36px;
    padding: 54px 22px 40px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-text {
    margin-top: 30px;
    font-size: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-intro,
  .content-grid {
    padding-left: 22px;
    padding-right: 22px;
  }

  .content-grid {
    gap: 18px;
    padding-bottom: 70px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row-wide {
    grid-column: auto;
  }

  .feature-copy,
  .feature-meta {
    grid-column: 1;
  }

  .site-footer {
    padding: 28px 22px;
  }

  .notes-hero,
  .note-detail {
    padding: 54px 22px 40px;
  }

  .notes-list,
  .pdf-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .note-row {
    grid-template-columns: 1fr;
  }

  .note-copy,
  .note-row .feature-meta {
    grid-column: 1;
  }

  .pdf-panel iframe {
    min-height: 540px;
  }
}
