:root {
  --paper: #F4F0E8;
  --charcoal: #2B2B2B;
  --red: #A62B1F;
  --font-serif: Georgia, 'Iowan Old Style', 'Cambria', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 440px;
  margin: 0 auto;
}

.hero {
  padding: 64px 28px 56px;
  text-align: center;
}

.lockup {
  width: 100%;
  max-width: 334px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.intro {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  margin: 0;
}

.lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.capture {
  padding: 36px 28px 0;
}

.paused-notice {
  border: 2px solid var(--charcoal);
  background: var(--paper);
  padding: 24px 20px 22px;
  position: relative;
}

.paused-notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}

.paused-notice p {
  margin: 0;
}

.status {
  padding: 56px 28px 0;
  text-align: center;
}

.status-text {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  margin: 0 0 22px;
}

.status-link {
  margin: 0;
}

.status-link a {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}

.noscript-note {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  margin: 18px 0 0;
}

.concepts {
  padding: 56px 28px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0;
  font-weight: 500;
}

.section-header .rule {
  flex: 1;
  height: 2px;
  background: var(--charcoal);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.concept-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.concept-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

footer {
  max-width: 440px;
  margin: 0 auto;
  padding: 56px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--charcoal);
  margin-bottom: 10px;
}

.marker-block {
  border: 1px dashed var(--charcoal);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*
 * Cakemail's rendered embed ships its own <style> block scoped to
 * `body`, `label`, `input`, `button` with no wrapper class — left alone it
 * repaints the whole page white/Arial, not just the form. These overrides
 * pin the page shell and re-skin the embed's actual DOM (id below is the
 * embed script's own hardcoded container id) to the site's system. All
 * !important — the embed's <style> loads after this stylesheet and matches
 * on equal-or-higher specificity, so ordinary cascade order can't be trusted.
 */
html, body {
  background: var(--paper) !important;
  color: var(--charcoal) !important;
  font-family: var(--font-serif) !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh {
  display: block;
  border: 2px solid var(--charcoal);
  background: var(--paper);
  padding: 24px 20px 22px;
  position: relative;
  font-family: var(--font-serif) !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}

#form-content-HMZHx2prhkrrWcfWY9bh .bee-row-content {
  max-width: none !important;
  display: block !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh p {
  font-family: var(--font-serif) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--charcoal) !important;
  margin: 0 0 18px !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh label,
#form-content-HMZHx2prhkrrWcfWY9bh div.label {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: var(--charcoal) !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh input:not([type="checkbox"]):not([type="radio"]) {
  background: var(--paper) !important;
  border: 2px solid var(--charcoal) !important;
  border-radius: 0 !important;
  color: var(--charcoal) !important;
  font-family: var(--font-serif) !important;
  font-size: 17px !important;
  min-height: 52px !important;
  padding: 0 14px !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh input:focus {
  outline: none !important;
  border-color: var(--red) !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh button {
  background: var(--paper) !important;
  border: 2px solid var(--charcoal) !important;
  border-radius: 0 !important;
  color: var(--charcoal) !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  height: 56px !important;
  cursor: pointer !important;
}

#form-content-HMZHx2prhkrrWcfWY9bh button:hover,
#form-content-HMZHx2prhkrrWcfWY9bh button:focus {
  background: var(--charcoal) !important;
  color: var(--paper) !important;
}
