
.rf-hero {
  background: #1b2420;
  color: #ffffff;
  padding: clamp(46px, 8vw, 88px) 22px;
}
.rf-hero > div {
  max-width: 1040px;
  margin: auto;
}
.rf-kicker {
  margin: 0 0 14px;
  color: #f6c560;
  font:
    800 11px/1.3 "IBM Plex Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.rf-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: #ffffff;
  font:
    850 clamp(38px, 7vw, 72px) / 0.98 "Bricolage Grotesque",
    Inter,
    system-ui;
  letter-spacing: -0.05em;
}
.rf-lead {
  max-width: 760px;
  margin: 0;
  color: #c6dbd1;
  font:
    18px/1.58 Inter,
    system-ui;
}
.rf-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.rf-badges span {
  border: 1px solid #c6dbd1;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  font:
    800 10px/1.25 Inter,
    system-ui;
}
.rf-wrap {
  max-width: 1120px;
  margin: 34px auto 90px;
  padding: 0 20px;
}
.rf-privacy {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 2px solid #1b2420;
  border-left: 8px solid #f6c560;
  border-radius: 10px;
  background: #f6f8f6;
  color: #1b2420;
  font:
    15px/1.55 Inter,
    system-ui;
}
.rf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 22px;
  align-items: start;
}
.rf-panel {
  border: 1px solid #e2daca;
  border-radius: 10px;
  background: #f6f8f6;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 14px 38px rgba(27, 36, 32, 0.08);
}
.rf-panel h2,
.rf-output h2,
.rf-evidence h2 {
  margin: 0 0 8px;
  color: #1b2420;
  font:
    800 25px/1.15 "Bricolage Grotesque",
    Inter,
    system-ui;
}
.rf-panel > p,
.rf-output > p,
.rf-evidence > p {
  margin: 0 0 20px;
  color: #635d4e;
}
.rf-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rf-field {
  display: block;
}
.rf-field > span,
.rf-group legend {
  display: block;
  margin-bottom: 7px;
  color: #1b2420;
  font:
    800 11px/1.35 "IBM Plex Mono",
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rf-field select {
  width: 100%;
  min-height: 48px;
  border: 2px solid #e2daca;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 12px;
  color: #1b2420;
  font:
    700 16px/1.3 Inter,
    system-ui;
}
.rf-field select:focus-visible,
.rf-check input:focus-visible,
.rf-actions button:focus-visible,
.rf-card:focus-visible {
  outline: 4px solid #f6c560;
  outline-offset: 2px;
  border-color: #2c6350;
}
.rf-group {
  grid-column: 1/-1;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}
.rf-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.rf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #e2daca;
  border-radius: 10px;
  background: #ffffff;
  color: #1b2420;
  font:
    700 14px/1.4 Inter,
    system-ui;
}
.rf-check input {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin: 0;
  accent-color: #2c6350;
}
.rf-output {
  position: sticky;
  top: 18px;
  border: 2px solid #1b2420;
  border-radius: 10px;
  background: #1b2420;
  color: #ffffff;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 6px 6px 0 #f6c560;
}
.rf-output h2 {
  color: #f6c560;
}
.rf-output > p {
  color: #c6dbd1;
}
.rf-copy {
  min-height: 190px;
  border: 1px solid #635d4e;
  border-radius: 10px;
  background: #f6f8f6;
  padding: 18px;
  color: #1b2420;
  font:
    16px/1.62 Inter,
    system-ui;
  white-space: pre-wrap;
}
.rf-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.rf-actions button,
.rf-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 2px solid #f6c560;
  border-radius: 10px;
  padding: 10px 14px;
  background: #f6c560;
  color: #1b2420;
  text-decoration: none;
  font:
    800 13px/1.2 Inter,
    system-ui;
  cursor: pointer;
}
.rf-actions .rf-secondary {
  background: transparent;
  color: #ffffff;
}
.rf-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: #c6dbd1;
  font:
    12px/1.4 Inter,
    system-ui;
}
.rf-friction {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #635d4e;
}
.rf-friction strong {
  display: block;
  color: #ffffff;
  font:
    800 15px/1.35 Inter,
    system-ui;
}
.rf-friction p {
  margin: 5px 0 0;
  color: #c6dbd1;
  font:
    13px/1.5 Inter,
    system-ui;
}
.rf-score {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 12px 0;
}
.rf-score b {
  color: #ffffff;
  font:
    850 54px/0.9 Fraunces,
    Georgia,
    serif;
}
.rf-score span {
  color: #c6dbd1;
  font:
    800 12px/1.3 Inter,
    system-ui;
}
.rf-meter {
  height: 12px;
  border: 1px solid #635d4e;
  border-radius: 999px;
  background: #f6f8f6;
  overflow: hidden;
}
.rf-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: #f6c560;
  transition: width 0.2s;
}
.rf-relaxations {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.rf-relax {
  border: 1px solid #635d4e;
  border-radius: 10px;
  padding: 12px;
  background: #f6f8f6;
  color: #1b2420;
}
.rf-relax b,
.rf-relax span {
  display: block;
}
.rf-relax b {
  font:
    800 14px/1.35 Inter,
    system-ui;
}
.rf-relax span {
  margin-top: 4px;
  color: #635d4e;
  font:
    12.5px/1.45 Inter,
    system-ui;
}
.rf-relax button {
  min-height: 44px;
  margin-top: 9px;
  border: 0;
  border-radius: 10px;
  padding: 8px 11px;
  background: #2c6350;
  color: #ffffff;
  font:
    800 12px/1.2 Inter,
    system-ui;
  cursor: pointer;
}
.rf-evidence {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid #1b2420;
  border-radius: 10px;
  background: #f6c560;
  color: #1b2420;
}
.rf-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.rf-evidence-card {
  border: 2px solid #1b2420;
  border-radius: 10px;
  background: #f6f8f6;
  padding: 14px;
}
.rf-evidence-card b {
  display: block;
  font:
    850 29px/1 Fraunces,
    Georgia,
    serif;
}
.rf-evidence-card span {
  display: block;
  margin-top: 6px;
  font:
    800 12px/1.35 Inter,
    system-ui;
}
.rf-evidence-card small {
  display: block;
  margin-top: 7px;
  color: #635d4e;
  font:
    11px/1.45 Inter,
    system-ui;
}
.rf-method {
  margin: 18px 0 0;
  font:
    12px/1.55 Inter,
    system-ui;
}
.rf-method a {
  color: #1b2420;
  font-weight: 800;
}
.rf-noscript {
  max-width: 900px;
  margin: 20px auto;
  padding: 16px;
  background: #f6c560;
  color: #1b2420;
}
@media (max-width: 820px) {
  .rf-grid {
    grid-template-columns: 1fr;
  }
  .rf-output {
    position: relative;
    top: auto;
  }
  .rf-evidence-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .rf-hero {
    padding: 42px 18px 48px;
  }
  .rf-wrap {
    padding: 0 14px;
  }
  .rf-fields,
  .rf-checks,
  .rf-evidence-grid {
    grid-template-columns: 1fr;
  }
  .rf-actions > * {
    width: 100%;
  }
  .rf-output {
    box-shadow: 4px 4px 0 #f6c560;
  }
}
@media print {
  .rf-nav,
  .rf-hero,
  .rf-panel,
  .rf-evidence,
  .rf-foot,
  .rf-actions,
  .rf-friction {
    display: none !important;
  }
  .rf-grid {
    display: block;
  }
  .rf-output {
    position: static;
    border: 0;
    box-shadow: none;
    background: #ffffff;
    color: #1b2420;
  }
  .rf-output h2 {
    color: #1b2420;
  }
  .rf-output > p,
  .rf-status {
    color: #635d4e;
  }
  .rf-copy {
    border: 0;
    padding: 0;
  }
}
.rf-check:focus-within {
  outline: 4px solid #f6c560;
  outline-offset: 2px;
  border-color: #2c6350;
}
.rf-evidence > p,
.rf-evidence .rf-method {
  color: #1b2420;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  padding: 11px 14px;
  border: 2px solid #1b2420;
  border-radius: 10px;
  background: #f6c560;
  color: #1b2420 !important;
  font:
    800 14px/1.2 Inter,
    system-ui;
  text-decoration: none;
}
.skip-link:focus {
  transform: none;
  outline: 4px solid #ffffff;
  outline-offset: 2px;
}
