@import url('./tokens.css');
@import url('./components.css');
@import url('./pages.css');
@import url('./motion.css');
* {
  box-sizing: border-box;
}
:root {
  font: 16px/1.65 var(--font-body);
  color: var(--rn-text);
  background: var(--rn-ivory);
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 100% 5%, rgb(242 228 200 / 35%), transparent 40%);
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--rn-primary);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--rn-primary-dark);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 400;
}
h1 {
  font-size: var(--text-h1);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}
h2 {
  font-size: var(--text-h2);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
h3 {
  font-size: var(--text-h3);
  line-height: 1.4;
  font-weight: 600;
}
p {
  margin-bottom: 20px;
}
small {
  font-size: var(--text-small);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--rn-gold);
  outline-offset: 4px;
}
main {
  min-height: 55vh;
}
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
  margin: auto;
}
.container > :last-child {
  margin-bottom: var(--space-8);
}
.narrow {
  max-width: var(--container-narrow);
  margin: var(--space-8) auto;
}
.section {
  padding: var(--space-8) 0;
}
.section-title {
  max-width: 660px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.page-heading {
  padding: var(--space-7) 0 var(--space-6);
}
.page-heading p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--rn-text-soft);
}
.eyebrow {
  color: var(--rn-primary);
  font-size: 0.68rem;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--rn-text-soft);
  max-width: 570px;
}
.muted {
  color: var(--rn-muted);
  font-size: var(--text-small);
}
.preserve-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.full-width {
  grid-column: 1/-1;
}
.wide {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 30px 0;
  font-size: var(--text-small);
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--rn-surface);
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 600px) {
  .narrow {
    margin: 36px auto;
  }
  .section {
    padding: 42px 0;
  }
  .page-heading {
    padding: 32px 0 24px;
  }
  .lead {
    font-size: 1rem;
  }
  .container > :last-child {
    margin-bottom: 40px;
  }
}

.required-mark { color: #b42336; font-weight: 700; }
.saved-review section { padding-block: 1rem; border-bottom: 1px solid #e4d5bf; }
.editor-step input:invalid:not(:placeholder-shown):focus { outline: 2px solid #b42336; }

