:root {
  color-scheme: light;
  --background: #f7f2ec;
  --surface: #fffdf9;
  --surface-soft: #f2e9df;
  --primary: #e8926a;
  --primary-dark: #b95f3f;
  --text: #332217;
  --text-secondary: #6b5d50;
  --border: #e5d8cc;
  --warning: #9d3f32;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.skip-link { left: 12px; position: absolute; top: -48px; z-index: 20; }
.skip-link:focus { top: 12px; }
a { color: var(--primary-dark); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.site-header {
  background: rgb(255 253 249 / 92%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.footer-inner,
.page {
  margin: 0 auto;
  max-width: 760px;
  padding-left: 24px;
  padding-right: 24px;
}

.header-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal-nav a { font-size: .9rem; font-weight: 650; }

.page { padding-bottom: 72px; padding-top: 52px; }
.eyebrow { color: var(--primary-dark); font-weight: 750; margin: 0 0 8px; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.12; margin: 0 0 20px; }
h2 { font-size: 1.3rem; line-height: 1.35; margin: 0 0 10px; }
p, li { color: var(--text-secondary); }
.lead { font-size: 1.08rem; margin-bottom: 28px; }

.draft-notice,
.section,
.steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 18px 0;
  padding: 22px;
}

.draft-notice { background: #fbe7e1; color: var(--warning); font-weight: 700; }
.operator-notice { background: #fff3d9; border-color: #ddb86a; color: #664a14; }
.section p:last-child, .section ul:last-child, .steps ol:last-child { margin-bottom: 0; }
.placeholder { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

label { display: block; font-weight: 750; margin-bottom: 8px; }
input, button { font: inherit; }
input {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); min-height: 48px; padding: 10px 12px; width: 100%;
}
button {
  background: var(--primary); border: 0; border-radius: 999px; color: var(--text);
  cursor: pointer; font-weight: 750; margin-top: 14px; min-height: 48px; padding: 10px 20px;
}
button:disabled { cursor: wait; opacity: .65; }
.form-message { min-height: 1.7em; }
.form-message[data-state="error"] { color: var(--warning); }
.form-message[data-state="success"] { color: #365f3c; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; }
.footer-inner { display: grid; gap: 14px; }
.footer-inner p { font-size: .88rem; margin: 0; }

@media (max-width: 620px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-bottom: 16px; padding-top: 16px; }
  .legal-nav { gap: 10px 14px; }
  .page { padding-top: 36px; }
  .section, .steps, .draft-notice { border-radius: 14px; padding: 18px; }
}
