/* Archar — one stylesheet, no build step, no external font.
 *
 * The palette carries over from the holding page it replaces, so anybody who
 * saw that page recognizes this one. Dark by default with a light-mode variant,
 * because a phone in a truck at 7am and a laptop at midnight are both real.
 *
 * Everything here degrades: the animation is decoration over content that is
 * already on the page, so with JavaScript off, motion reduced, or CSS failing
 * entirely, the words still read in order.
 */

:root {
  color-scheme: dark light;
  --bg:      #0b0e14;
  --panel:   #111725;
  --line:    #1e2636;
  --text:    #e8edf7;
  --soft:    #c4cfe4;
  --quiet:   #8fa3c8;
  --accent:  #6ee7b7;
  --link:    #9fd7ff;
  --warn:    #fbbf24;
  --radius:  14px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfcfe; --panel: #ffffff; --line: #e3e8f0;
    --text: #17202f; --soft: #3d4a5f; --quiet: #5d6b82;
    --accent: #047857; --link: #0b6fa4; --warn: #b45309;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { width: min(46rem, 100%); margin: 0 auto; padding: 0 22px; }

/* ── header and footer ─────────────────────────────────────────────────── */

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.mark {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--quiet); text-decoration: none; font-weight: 600; white-space: nowrap;
}
.mark:hover { color: var(--text); }
nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--soft); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--text); text-decoration: underline; }

footer { border-top: 1px solid var(--line); margin-top: 72px; }
footer .wrap { padding-top: 26px; padding-bottom: 40px; }
footer p { color: var(--quiet); font-size: 14px; margin: 0 0 8px; }

a { color: var(--link); }

/* ── type ──────────────────────────────────────────────────────────────── */

main { padding-top: 52px; }
h1 { font-size: clamp(28px, 5.4vw, 40px); line-height: 1.2; margin: 0 0 18px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: clamp(20px, 3.4vw, 25px); line-height: 1.3; margin: 56px 0 14px; font-weight: 620; }
h3 { font-size: 17px; margin: 0 0 6px; font-weight: 620; }
p  { margin: 0 0 18px; color: var(--soft); }
.lead { font-size: clamp(18px, 2.6vw, 20px); color: var(--text); }
.quiet { color: var(--quiet); font-size: 15px; }
strong { color: var(--text); font-weight: 620; }
ul { color: var(--soft); padding-left: 20px; }
li { margin: 0 0 8px; }

/* ── the check panel: the product, demonstrating itself ────────────────── */

.demo {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin: 34px 0 10px;
}
.demo-head {
  display: flex; align-items: baseline; gap: 10px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px;
}
.demo-head .t { font-weight: 620; font-size: 15px; }
.demo-head .s { color: var(--quiet); font-size: 13px; margin-left: auto; }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 7px 0; color: var(--soft); font-size: 15px;
  border-bottom: 1px solid transparent;
}
.checks .dot {
  flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%;
  border: 2px solid var(--line); position: relative;
}
.checks .ok .dot { border-color: var(--accent); }
.checks .ok .dot::after {
  content: ""; position: absolute; inset: 3px 3px; border-radius: 50%;
  background: var(--accent);
}
.checks .flag .dot { border-color: var(--warn); }
.checks .flag .dot::after {
  content: ""; position: absolute; left: 5px; top: 2px;
  width: 3px; height: 7px; background: var(--warn); border-radius: 2px;
}
.checks .what { flex: 1 1 auto; }
.checks .verdict { color: var(--quiet); font-size: 13px; white-space: nowrap; }
.checks .flag .verdict { color: var(--warn); }

/* The reveal. Decoration only: every row is in the HTML and readable with the
   animation never running. `forwards` matters, or a row that has played would
   snap back to invisible at the end. */
@media (prefers-reduced-motion: no-preference) {
  .checks li { opacity: 0; animation: rise .45s ease-out forwards; }
  .checks li:nth-child(1) { animation-delay: .15s; }
  .checks li:nth-child(2) { animation-delay: .60s; }
  .checks li:nth-child(3) { animation-delay: 1.05s; }
  .checks li:nth-child(4) { animation-delay: 1.50s; }
  .checks li:nth-child(5) { animation-delay: 1.95s; }
  .finding { opacity: 0; animation: rise .5s ease-out 2.5s forwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.finding {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: color-mix(in srgb, var(--warn) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 32%, transparent);
  color: var(--text); font-size: 15px;
}
.finding b { color: var(--warn); }

/* ── the three of us ───────────────────────────────────────────────────── */

.three { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .three { grid-template-columns: repeat(3, 1fr); } }
.three li {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin: 0;
}
.three .who { color: var(--accent); font-size: 13px; letter-spacing: .08em;
              text-transform: uppercase; font-weight: 650; margin: 0 0 6px; }
.three p { margin: 0; font-size: 15px; }

/* ── price, buttons, form ──────────────────────────────────────────────── */

.price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.price .n { font-size: clamp(30px, 6vw, 38px); font-weight: 660; letter-spacing: -.02em; }
.price .per { color: var(--quiet); }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--accent); color: #04231a; font-weight: 640;
  text-decoration: none; border: 0; font-size: 16px; cursor: pointer;
}
@media (prefers-color-scheme: light) { .btn { color: #ffffff; } }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--link); border: 1px solid var(--line); }

form { margin: 22px 0 0; }
label { display: block; margin: 0 0 16px; }
label span { display: block; font-size: 15px; margin: 0 0 6px; color: var(--text); }
input, textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 16px;
  color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 130px; resize: vertical; }

.note { padding: 13px 15px; border-radius: 10px; font-size: 15px; margin: 0 0 18px; }
.note.bad { background: color-mix(in srgb, #f43f5e 12%, transparent);
            border: 1px solid color-mix(in srgb, #f43f5e 34%, transparent); }
.note.good { background: color-mix(in srgb, var(--accent) 12%, transparent);
             border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent); }
.note ul { margin: 6px 0 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
