/* Reveal Sites portal. Brand: brand/brand-basics.md (Soapstone and brass; Fraunces and Karla). */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("fonts/karla-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --soapstone: #232B29;
  --brass: #B4935A;
  --brass-light: #C9A96A;
  --plaster: #F3EFE8;
  --sage: #93A199;
  --brass-dark: #7F6230;
  --white: #FFFFFF;
  --line: #D9D1C4;
  --error: #9B2C1F;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--soapstone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: var(--brass-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brass-dark);
  outline-offset: 2px;
}

.top {
  background: var(--soapstone);
  padding: 12px 16px;
}
.top__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { display: block; width: 122px; height: auto; }
.top__call {
  color: var(--plaster);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.step {
  margin: 0 0 6px;
  color: var(--brass-dark);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(1.75rem, 6vw, 2.375rem); }
h2 { font-size: 1.375rem; margin-top: 8px; }

.lead { font-size: 1.125rem; margin: 0 0 20px; }

.price {
  background: var(--soapstone);
  color: var(--plaster);
  border-radius: 10px;
  padding: 18px 18px 16px;
  margin: 0 0 24px;
}
.price__row { margin: 0 0 6px; font-size: 1.0625rem; }
.price__was { color: var(--sage); text-decoration: line-through; margin-right: 6px; }
.price__now { font-family: var(--head); font-size: 1.75rem; color: var(--brass-light); font-weight: 600; }
.price p { margin: 0 0 6px; }
.price p:last-child { margin-bottom: 0; }
.price .small { color: var(--sage); font-size: 0.9375rem; }

.voice {
  border-left: 4px solid var(--brass);
  background: var(--white);
  padding: 10px 14px;
  margin: 0 0 20px;
  font-size: 0.9375rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 0 0 20px;
}
.card h2 { margin-top: 0; }
.card ul, .card ol { padding-left: 1.2em; margin: 0 0 8px; }
.card li { margin-bottom: 4px; }

.ways { display: grid; gap: 10px; margin: 0 0 8px; }

.field { margin: 0 0 18px; }
.field > label, .field > .q {
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
}
.hint { display: block; font-weight: 400; color: #4A5350; font-size: 0.9375rem; }

input[type="text"], input[type="tel"], input[type="email"], input[type="url"], textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--soapstone);
  background: var(--white);
  border: 1.5px solid #8C8578;
  border-radius: 8px;
}
textarea { min-height: 104px; resize: vertical; }

fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
legend { font-weight: 700; margin: 0 0 6px; padding: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  background: var(--white);
  border: 1.5px solid #8C8578;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.choices--stack { flex-direction: column; }
.choices--stack .choice { width: 100%; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--soapstone); flex: none; }
.choice:has(input:checked) { border-color: var(--soapstone); background: #E9E2D6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--brass);
  color: var(--soapstone);
  font: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--brass-light); }
.btn--plain {
  background: var(--white);
  border: 1.5px solid var(--soapstone);
}
.btn--plain:hover { background: #E9E2D6; }

.js-only { display: none; }
.js .js-only { display: inline-flex; }
.js .no-js { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.for-note { margin: 0 0 18px; font-weight: 600; }
.is-hidden { display: none; }

.foot {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 32px;
  color: #4A5350;
  font-size: 0.9375rem;
}
.foot a { display: inline-flex; min-height: 44px; align-items: center; }

.next { margin: 24px 0 0; }
.next p { margin: 0 0 12px; }
