:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-warm: var(--surface);
  --fg: #111111;
  --fg-2: var(--fg);
  --muted: #6b6b6b;
  --meta: var(--muted);
  --border: #e5e5e5;
  --border-soft: var(--border);
  --accent: #2f6feb;
  --accent-on: #ffffff;
  --accent-hover: color-mix(in oklab, var(--accent), black 8%);
  --accent-active: color-mix(in oklab, var(--accent), black 14%);
  --success: #17a34a;
  --warn: #eab308;
  --danger: #dc2626;
  --font-display: "Iowan Old Style", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", monospace;
  --motion-fast: 150ms;
  --motion-base: 200ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 0 2px 8px color-mix(in oklab, var(--fg), transparent 92%);
  --focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
  --container-max: 1200px;
}

html {
  overflow-x: hidden;
}

.home-page {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent), white 18%);
  outline-offset: 3px;
  box-shadow: none;
}

.home-page .skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--motion-fast) var(--ease-standard);
}

.home-page .skip-link:focus-visible {
  transform: translateY(0);
}

.home-page .wrap {
  width: min(var(--container-max), calc(100% - 48px));
}

.home-page .site-header {
  background: color-mix(in oklab, var(--bg), transparent 4%);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.home-page .topbar {
  min-height: 72px;
  gap: 24px;
}

.home-page .brand {
  gap: 12px;
}

.home-page .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.home-page .brand-title,
.home-page .brand-subtitle {
  color: var(--fg);
}

.home-page .brand-title {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.home-page .brand-subtitle {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.home-page .site-nav {
  gap: 2px;
  margin-left: auto;
}

.home-page .site-nav a {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.home-page .site-nav a:hover,
.home-page .site-nav a.active {
  background: var(--surface);
  color: var(--fg);
}

.header-note,
.section-link,
.text-link,
.showcase-link {
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.header-note:hover,
.section-link:hover,
.text-link:hover,
.showcase-link:hover {
  text-decoration: underline;
}

.header-note span,
.section-link span,
.text-link span,
.showcase-link span {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.home-page main {
  padding: 0;
}

.notebook-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  min-height: min(720px, calc(100vh - 72px));
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 680px;
}

.home-page .eyebrow,
.section-kicker,
.note-board-top,
.note-label,
.panel-mark,
.home-footer,
.content-meta,
.list-index {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--fg);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--fg), transparent 88%);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: var(--fg);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.home-page h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 600;
  text-wrap: balance;
}

.home-page h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.home-page .lead {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  text-wrap: pretty;
}

.home-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-page .button {
  min-height: 46px;
  padding: 0 17px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.home-page .button span {
  margin-left: 9px;
  font-size: 17px;
}

.home-page .button.primary {
  background: var(--fg);
  color: var(--surface);
  box-shadow: none;
}

.home-page .button.primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.home-page .button.secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--fg);
}

.home-page .button.secondary:hover {
  border-color: var(--fg);
  background: var(--surface);
  transform: translateY(-1px);
}

.hero-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 12px;
}

.signature-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--fg);
  transform: rotate(-4deg);
}

.note-board {
  position: relative;
  min-height: 455px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--elev-raised);
  transform: rotate(1.1deg);
}

.note-board::before,
.note-board::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.note-board::before {
  inset: 12px;
  border: 1px solid var(--border);
  transform: rotate(-1.2deg);
}

.note-board::after {
  right: 34px;
  bottom: 30px;
  width: 90px;
  height: 1px;
  background: var(--muted);
  transform: rotate(-7deg);
}

#inkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.note-board-top,
.note-caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
}

.note-paper {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  margin: 40px 10px 24px;
  padding: 30px 28px 24px;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 10px 12px 0 color-mix(in oklab, var(--accent), transparent 93%);
  transform: rotate(-2.2deg);
}

.note-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 86%);
  transform: translateX(-50%);
}

.note-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.note-paper h2 {
  max-width: 330px;
  margin: 18px 0 0;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.1;
  font-weight: 600;
}

.note-paper p {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.note-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

.note-caption {
  justify-content: flex-end;
}

.intro-strip {
  display: grid;
  grid-template-columns: 0.65fr 1.5fr 0.85fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-label,
.section-kicker,
.panel-mark {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.intro-copy {
  max-width: 520px;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.75;
}

.intro-links {
  display: grid;
  gap: 8px;
}

.intro-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.intro-links a:hover {
  color: var(--accent);
}

.intro-links span {
  color: var(--muted);
}

.home-section {
  padding-top: 80px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 660px;
  margin: 10px 0 0;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 600;
  text-wrap: balance;
}

.compact-heading h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.latest-feature {
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
  gap: 36px;
  align-items: stretch;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}

.latest-feature-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  padding: 8px 0 24px;
}

.latest-feature-note h3 {
  max-width: 290px;
  margin: 16px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 600;
}

.latest-feature-note p {
  max-width: 285px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.latest-feature-note .text-link {
  margin-top: auto;
}

.home-page .card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.home-page .content-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 170px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  text-decoration: none;
  transition: padding-left var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.home-page .content-card:hover {
  padding-left: 8px;
  background: transparent;
  transform: none;
}

.home-page .content-card:first-child {
  grid-column: 1 / -1;
  min-height: 190px;
}

.home-page .content-meta {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.home-page .content-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: pretty;
}

.home-page .content-card:first-child h3 {
  max-width: 620px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.home-page .content-card p {
  display: -webkit-box;
  max-width: 620px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-page .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.home-page .tag {
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 10px;
}

.notes-section {
  padding-top: 96px;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 56px;
  align-items: start;
}

.latest-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.home-page .list-item {
  display: grid;
  grid-template-columns: 38px 112px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: padding-left var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
}

.home-page .list-item:hover {
  padding-left: 8px;
  background: color-mix(in oklab, var(--accent), transparent 97%);
}

.list-index {
  padding-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.home-page .list-item .content-meta {
  padding-top: 2px;
  color: var(--muted);
  line-height: 1.6;
}

.home-page .list-item strong {
  display: block;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.home-page .list-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.list-arrow {
  padding-top: 1px;
  color: var(--muted);
  font-size: 17px;
  transition: color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.home-page .list-item:hover .list-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.topic-panel {
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 8px 8px 0 color-mix(in oklab, var(--accent), transparent 94%);
}

.panel-mark {
  margin-bottom: 24px;
}

.topic-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.14;
  font-weight: 600;
}

.topic-panel > p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.home-page .topic-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-page .topic-panel a::after {
  color: var(--muted);
  content: "↗";
}

.home-page .topic-panel a:hover {
  color: var(--accent);
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  text-decoration: none;
}

.showcase-visual {
  position: relative;
  min-height: 420px;
  background: var(--fg);
  overflow: hidden;
}

.showcase-visual::after {
  position: absolute;
  inset: 20px;
  border: 1px solid color-mix(in oklab, var(--surface), transparent 78%);
  content: "";
  pointer-events: none;
}

.showcase-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 500ms var(--ease-standard), opacity 500ms var(--ease-standard);
}

.showcase-card:hover .showcase-visual img {
  opacity: 1;
  transform: scale(1.025);
}

.showcase-index {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  padding: 6px 8px;
  border: 1px solid color-mix(in oklab, var(--surface), transparent 64%);
  background: color-mix(in oklab, var(--fg), transparent 12%);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
}

.showcase-copy h3 {
  max-width: 390px;
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  text-wrap: balance;
}

.showcase-copy p {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.showcase-points {
  display: grid;
  border-top: 1px solid var(--border);
}

.showcase-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
}

.showcase-points span::before {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--muted);
  content: "";
}

.closing-note {
  display: grid;
  grid-template-columns: minmax(100px, 0.32fr) minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-top: 80px;
  padding-top: 34px;
  padding-bottom: 76px;
  border-top: 1px solid var(--border);
}

.closing-rule {
  align-self: start;
  width: 56px;
  height: 1px;
  margin-top: 11px;
  background: var(--fg);
  transform: rotate(-5deg);
}

.closing-copy h2 {
  max-width: 650px;
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 600;
}

.closing-copy p {
  max-width: 430px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.home-footer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
}

.home-footer .footbar {
  min-height: 34px;
}

.home-page .empty-state,
.home-page .content-error {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: center;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.home-page .loading-state {
  display: flex;
  grid-column: 1 / -1;
  min-height: 96px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.home-page .state-mark {
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--border);
  box-shadow: 10px 0 0 var(--fg);
}

.home-page .content-error strong {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.home-page .content-error p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-page .retry-button {
  justify-self: start;
  margin-top: 4px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
}

.home-page .retry-button:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.home-page .noscript-note {
  margin-bottom: 32px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .notebook-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
    gap: 48px;
  }

  .intro-strip {
    grid-template-columns: 0.55fr 1.4fr 0.8fr;
  }

  .latest-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .showcase-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 920px) {
  .home-page .topbar {
    min-height: 66px;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }

  .home-page .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 24px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }

  .home-page .site-nav.is-open {
    display: flex;
  }

  .home-page .site-nav a {
    padding: 12px 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-note {
    display: none;
  }

  .home-page .topbar {
    position: relative;
  }

  .notebook-hero,
  .latest-feature,
  .latest-layout,
  .showcase-card,
  .closing-note {
    grid-template-columns: 1fr;
  }

  .notebook-hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 52px;
  }

  .note-board {
    min-height: 410px;
  }

  .intro-strip {
    grid-template-columns: 1fr 1.8fr;
  }

  .intro-links {
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .latest-feature {
    gap: 24px;
  }

  .latest-feature-note {
    min-height: auto;
    padding-bottom: 0;
  }

  .latest-feature-note .text-link {
    margin-top: 24px;
  }

  .latest-layout {
    gap: 32px;
  }

  .showcase-visual {
    min-height: 300px;
  }

  .closing-note {
    gap: 18px;
    align-items: start;
    margin-top: 52px;
    padding-bottom: 52px;
  }

  .closing-note .button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .home-page .wrap {
    width: calc(100% - 32px);
  }

  .home-page .site-nav {
    padding-right: 16px;
    padding-left: 16px;
  }

  .notebook-hero {
    padding-top: 46px;
  }

  .home-page h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .home-page .lead {
    font-size: 16px;
  }

  .home-page .actions,
  .home-page .button {
    width: 100%;
  }

  .hero-signature {
    margin-top: 30px;
  }

  .note-board {
    min-height: 375px;
    padding: 18px;
  }

  .note-paper {
    min-height: 280px;
    margin: 32px 6px 20px;
    padding: 26px 22px 20px;
  }

  .note-paper h2 {
    font-size: 30px;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intro-links {
    grid-column: auto;
  }

  .home-section {
    padding-top: 56px;
  }

  .notes-section {
    padding-top: 64px;
  }

  .section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .home-page .card-grid {
    grid-template-columns: 1fr;
  }

  .home-page .content-card:first-child {
    min-height: 180px;
  }

  .home-page .list-item {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .home-page .list-item .content-meta {
    grid-column: 2 / -1;
    grid-row: 1;
    padding: 0;
  }

  .home-page .list-item .list-index {
    grid-row: 1 / span 2;
  }

  .home-page .list-item > span:nth-child(3) {
    grid-column: 2 / -1;
  }

  .home-page .list-item .list-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .showcase-copy {
    gap: 24px;
    padding: 28px 22px;
  }

  .showcase-copy h3 {
    font-size: 34px;
  }

  .home-footer .footbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .home-page .brand-subtitle {
    display: none;
  }

  .home-page .site-nav {
    padding-right: 12px;
    padding-left: 12px;
  }

  .intro-links {
    grid-template-columns: 1fr;
  }

  .intro-links a {
    padding-bottom: 10px;
  }
}

@media (max-width: 390px) {
  .home-page h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .note-board {
    min-height: 350px;
  }

  .note-paper {
    min-height: 252px;
    padding: 24px 18px 18px;
  }

  .note-paper h2 {
    font-size: 28px;
  }

  .showcase-copy h3 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
