:root {
  --scratch-max: 1120px;
  --scratch-pad: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ocf-body, #404040);
  background: var(--ocf-bg, #ffffff);
  font-family: var(--ocf-font-body, Inter, system-ui, sans-serif);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.scratch-main {
  min-height: 70vh;
}

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

.scratch-section,
.scratch-page {
  padding: clamp(56px, 8vw, 104px) 0;
}

.scratch-eyebrow {
  margin: 0 0 12px;
  color: var(--ocf-label, #6b7280);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ocf-heading, #161616);
  font-family: var(--ocf-font-heading, Inter, system-ui, sans-serif);
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.2rem;
}

.scratch-lede {
  max-width: 62ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.scratch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.scratch-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ocf-accent, #2457d6);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ocf-accent, #2457d6);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.scratch-button--ghost {
  background: transparent;
  color: var(--ocf-heading, #161616);
  border-color: var(--ocf-border, #d9dde5);
}

.scratch-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin-top: 28px;
}

.scratch-list-card {
  border: 1px solid var(--ocf-border-light, #edf0f5);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.scratch-list-card h2,
.scratch-list-card h3 {
  margin-bottom: 10px;
}

.scratch-list-card a {
  text-decoration: none;
}

.scratch-page__inner {
  max-width: 820px;
}

.scratch-content > *:first-child {
  margin-top: 0;
}

.scratch-content > *:last-child {
  margin-bottom: 0;
}

.scratch-honeypot {
  position: absolute;
  left: -9999px;
}
