/* Followup by ONExceed: one static page plus two legal pages. No framework, no build. */

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f1eee7;
  --text: #1b2421;
  --muted: #4f5b56;
  --line: #dcd7cc;
  --accent: #0f5c4d;
  --accent-hover: #0b4a3e;
  --on-accent: #ffffff;
  --accent-soft: #e2efe9;
  --warn-bg: #fff4d6;
  --warn-text: #5c4300;
  --ok: #0b6b38;
  --error: #b3261e;
  --focus: #0f5c4d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 36, 33, 0.06), 0 6px 20px rgba(27, 36, 33, 0.05);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 68rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1513;
    --surface: #161e1b;
    --surface-2: #1c2622;
    --text: #e8ece9;
    --muted: #a9b5b0;
    --line: #2c3833;
    --accent: #7fd1bc;
    --accent-hover: #a2e0cf;
    --on-accent: #06201a;
    --accent-soft: #1b2e28;
    --warn-bg: #3a2f10;
    --warn-text: #ffd978;
    --ok: #5ddc95;
    --error: #ff8a80;
    --focus: #a2e0cf;
    --shadow: none;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.3rem, 7vw, 3.8rem);
}
h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
}
h3 {
  font-size: 1.35rem;
}
p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
}

/* --- header ----------------------------------------------------------------- */

.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.brand small {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}
.top nav .hide-sm {
  display: none;
}
@media (min-width: 760px) {
  .top nav .hide-sm {
    display: inline;
  }
}

/* --- buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* --- sections --------------------------------------------------------------- */

section {
  padding-block: clamp(56px, 9vw, 96px);
}
section + section {
  border-top: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
}

.hero {
  padding-block: clamp(56px, 12vw, 128px);
}
.hero h1 {
  max-width: 16ch;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero .note {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* --- cards ------------------------------------------------------------------ */

.grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin-bottom: 4px;
}
.card .who {
  color: var(--muted);
  font-size: 0.95rem;
}
.card dl {
  margin: 16px 0 0;
}
.card dt {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 14px;
}
.card dd {
  margin: 4px 0 0;
}
.card blockquote {
  margin: 4px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--line);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}
.rules {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48rem;
}

/* --- steps ------------------------------------------------------------------ */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  max-width: 44rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps strong {
  display: block;
}

/* --- pricing ---------------------------------------------------------------- */

.price-card {
  max-width: 34rem;
  margin-top: 32px;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.price {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  margin: 16px 0 4px;
}
.price span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.price-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.price-list b {
  white-space: nowrap;
}
.small {
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- forms ------------------------------------------------------------------ */

.two-col {
  display: grid;
  gap: 32px;
}
@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
input[type='text'],
input[type='tel'] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}
input:focus-visible {
  border-color: var(--focus);
}
.check {
  grid-template-columns: 24px 1fr;
  align-items: start;
  font-weight: 400;
}
.check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.form-status {
  min-height: 1.6em;
  margin: 0;
  font-weight: 600;
}
.form-status.ok {
  color: var(--ok);
}
.form-status.err {
  color: var(--error);
}
.contact {
  font-size: 1.15rem;
}
.contact dt {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}
.contact dd {
  margin: 2px 0 0;
  font-weight: 600;
}

/* --- footer ----------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
  font-size: 0.95rem;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer nav {
  display: flex;
  gap: 18px;
}

/* --- legal pages ------------------------------------------------------------ */

.legal {
  max-width: 44rem;
  padding-block: 48px 72px;
}
.legal h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 1.8em;
}
.legal ul {
  padding-left: 1.3em;
}
.draft {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-weight: 600;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
}
.table-wrap {
  overflow-x: auto;
}
