/* Closeweave validation page. Local only: no remote fonts, no remote anything. */

:root {
  color-scheme: light dark;

  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1c2321;
  --muted: #45524e;
  --accent: #1f5a4c;
  --accent-text: #ffffff;
  --border: #d8d0c4;
  --focus: #7a2f0b;
  --notice-bg: #f3ede2;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121614;
    --surface: #1a201d;
    --text: #eae6dd;
    --muted: #b6c1bb;
    --accent: #86d3ba;
    --accent-text: #0e1a16;
    --border: #2d3833;
    --focus: #f0c27a;
    --notice-bg: #202a26;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  z-index: 10;
  border: 2px solid var(--focus);
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
}

.wrap-narrow {
  width: min(44rem, 100% - 2.5rem);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  display: block;
  border-radius: 6px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

/* Sections */

section {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--border);
}

.hero {
  padding-top: 3.75rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.lede,
.section-lede {
  max-width: var(--measure);
  font-size: 1.15rem;
  color: var(--muted);
}

.promise-list {
  max-width: var(--measure);
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
  position: relative;
}

.promise-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.fineprint {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 120ms ease, background-color 120ms ease;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.button-secondary {
  background: transparent;
  color: var(--accent);
}

.button:hover {
  transform: translateY(-1px);
}

/* Cards */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.never-list {
  margin: 0;
  padding-left: 1.1rem;
}

.never-list li {
  margin-bottom: 0.3rem;
}

/* Feed-order illustration */

.order-figure {
  margin: 2.25rem 0 0;
  max-width: var(--measure);
}

.order-stack {
  display: grid;
  gap: 0.6rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.order-time {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  min-width: 5.5rem;
  color: var(--muted);
}

.order-bar {
  flex: 1;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--border);
}

.order-figure figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pricing */

.price-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  list-style: none;
  margin: 2rem 0 1.5rem;
  padding: 0;
}

.price {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 700;
}

.price-detail {
  color: var(--muted);
}

/* Founding checkout */

.checkout-block {
  margin: 1.75rem 0 1.25rem;
}

.notice {
  max-width: var(--measure);
  background: var(--notice-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0;
}

.checkout-action {
  margin: 1rem 0 0;
}

/* Forms */

.form {
  margin-top: 2rem;
  max-width: 40rem;
}

.field {
  margin: 0 0 1.5rem;
  border: 0;
  padding: 0;
}

fieldset.field {
  margin-inline: 0;
}

label,
legend {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
  min-height: 6rem;
}

input:hover,
textarea:hover {
  border-color: var(--muted);
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.32rem;
  flex: none;
  accent-color: var(--accent);
}

.choice label {
  font-weight: 400;
  margin: 0;
}

.field-consent .choice label {
  font-size: 0.98rem;
}

.hint {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.error {
  margin: 0.35rem 0 0;
  color: var(--focus);
  font-weight: 650;
  font-size: 0.95rem;
}

.error:empty {
  display: none;
}

[aria-invalid="true"] {
  border-color: var(--focus);
}

.form .fineprint {
  margin-top: 1rem;
}

/* Footer */

.site-footer {
  padding: 2.75rem 0 3.5rem;
  background: var(--surface);
}

.site-footer p {
  max-width: var(--measure);
  color: var(--muted);
}

.footer-heading {
  font-size: 1.15rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .button:hover {
    transform: none;
  }
}
