/* Capyrus landing page. Light theme only, system fonts, no scripts, no third-party anything. */
:root {
  color-scheme: light;
  --bg: #fffaf3;
  --ink: #23201c;
  --ink-soft: #5f574e;
  --line: #ecdfcd;
  --accent: #c2531c;
  --accent-deep: #a84514;
  --peach: #ffe3d0;
  --peach-ink: #8a3a12;
  --mint: #d9f2e4;
  --mint-ink: #1f6b45;
  --lilac: #e8e0fb;
  --lilac-ink: #5a3fa8;
  --butter: #fff2bf;
  --butter-ink: #7a5a00;
  --sky: #dcecfb;
  --radius: 18px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent-deep); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
.top nav a.signin { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 600; }
.top nav a.signin:hover { border-color: #d9c7ad; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 44px 0 56px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--mint-ink); background: var(--mint); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9e62; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
h1 .hl { background: linear-gradient(transparent 58%, var(--butter) 58%); padding: 0 2px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 19.5px; color: var(--ink-soft); margin: 0 0 28px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 650; padding: 14px 26px; border-radius: 999px; box-shadow: 0 6px 18px rgba(194, 83, 28, .25); }
.cta:hover { background: var(--accent-deep); color: #fff; }
.ghost { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 600; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.ghost:hover { border-color: #d9c7ad; }
.small { font-size: 14.5px; color: var(--ink-soft); margin-top: 16px; }

/* Product mock (pure HTML/CSS) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(90, 55, 20, .14); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fdf7ef; font-size: 13px; color: var(--ink-soft); }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ff8a7a; } .dot.y { background: #ffd166; } .dot.g { background: #6fd39b; }
.mock-bar .title { margin-left: 8px; font-weight: 600; color: var(--ink); }
.mock-bar .people { margin-left: auto; display: flex; gap: 4px; }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; }
.avatar.a { background: var(--lilac); color: var(--lilac-ink); }
.avatar.b { background: var(--mint); color: var(--mint-ink); }
.avatar.c { background: var(--peach); color: var(--peach-ink); }
.mock-body { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 300px; }
.code { padding: 16px 14px; font: 12.5px/1.75 var(--mono); color: #4a4239; border-right: 1px solid var(--line); white-space: pre; overflow: hidden; }
.code .k { color: #b0541f; } .code .c { color: #a39687; } .code .m { color: #5a3fa8; }
.code .line { position: relative; display: block; }
.code .sel { background: var(--lilac); border-radius: 3px; }
.code .edit { background: var(--mint); border-radius: 3px; }
.flag { display: inline-block; margin-left: 6px; vertical-align: 1px; font: 600 10px/1 -apple-system, sans-serif; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.flag.a { background: #7b5fd1; color: #fff; }
.flag.b { background: #2f9e62; color: #fff; }
.pdf { background: #f3eee6; padding: 16px; }
.page { background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: 18px 16px; height: 100%; }
.page .t { height: 9px; width: 70%; margin: 0 auto 6px; background: #3a332c; border-radius: 3px; }
.page .au { height: 6px; width: 45%; margin: 0 auto 14px; background: #b9aea1; border-radius: 3px; }
.page .l { height: 5px; background: #ded6cb; border-radius: 3px; margin-bottom: 6px; }
.page .l.s { width: 82%; } .page .l.m { width: 92%; }
.page .l.hl { background: #ffd98a; }
.page .h { height: 7px; width: 38%; background: #6b6157; border-radius: 3px; margin: 12px 0 8px; }
.page .fig { height: 52px; border-radius: 6px; margin: 10px 0; background: linear-gradient(135deg, var(--sky), var(--lilac)); }
.toast { margin: 10px 14px 14px; display: flex; gap: 8px; align-items: center; font-size: 13px; background: var(--mint); color: var(--mint-ink); border-radius: 10px; padding: 8px 12px; font-weight: 600; }

/* Feature cards */
section { padding: 56px 0; }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
.sub { color: var(--ink-soft); margin: 0 0 30px; font-size: 18px; max-width: 640px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card { border-radius: var(--radius); padding: 26px; }
.card .ico { font-size: 26px; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.7); margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 16px; }
.card.peach { background: var(--peach); color: #4a2a17; }
.card.mint { background: var(--mint); color: #173f2b; }
.card.lilac { background: var(--lilac); color: #2f2358; }
.card code, .faq code { font: 0.88em var(--mono); background: rgba(255,255,255,.75); border-radius: 5px; padding: 1px 5px; }

/* Moving strip */
.move { background: var(--butter); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.move h3 { margin: 0 0 4px; font-size: 21px; color: #3d2e00; }
.move p { margin: 0; color: #5c4700; }
.move a.ghost { background: #fffbe8; border-color: #eedb96; }

/* Join form */
.join { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.join .sub { margin-bottom: 18px; }
.perks { list-style: none; padding: 0; margin: 0; }
.perks li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-soft); }
.perks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
form.box, .open-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 34px rgba(90, 55, 20, .08); }
label { display: block; font-weight: 600; font-size: 14.5px; margin: 0 0 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field { margin-bottom: 16px; }
input[type=email], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fffdfa;
  border: 1px solid #e0d2bf; border-radius: 12px; padding: 11px 12px;
}
textarea { min-height: 64px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(194, 83, 28, .25); border-color: var(--accent); }
.row { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
button { font: inherit; font-weight: 650; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; width: 100%; font-size: 16.5px; box-shadow: 0 6px 18px rgba(194, 83, 28, .25); }
button:hover { background: var(--accent-deep); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq details { max-width: 860px; }
section, .hero { scroll-margin-top: 16px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 10px 0 2px; }

/* Contact */
.hello { background: var(--lilac); border-radius: var(--radius); padding: 34px; text-align: center; }
.hello h2 { color: #2f2358; }
.hello p { color: #4b3f78; margin: 0 0 18px; }
.mail { display: inline-block; font-size: 20px; font-weight: 700; color: var(--lilac-ink); background: #fff; border-radius: 999px; padding: 12px 24px; text-decoration: none; }
.mail:hover { color: #3f2a85; }

/* Footer */
footer { padding: 30px 0 44px; color: var(--ink-soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }
footer a { color: var(--ink-soft); }

/* Small pages (thanks, errors) */
.note { max-width: 560px; margin: 80px auto; text-align: center; padding: 0 24px; }
.note img { width: 60px; height: 60px; }
.note h1 { font-size: 34px; margin: 18px 0 10px; }
.note p { color: var(--ink-soft); }

/* Small screens */
@media (max-width: 900px) {
  .hero, .join { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; gap: 32px; }
}
@media (max-width: 640px) {
  .top nav a.hide-sm { display: none; }
  .row { grid-template-columns: 1fr; }
  .code { font-size: 11px; }
  .mock-body { grid-template-columns: 1fr; }
  .move { padding: 22px; }
}

/* How it works */
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.steps li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent); }
.steps li:nth-child(2) .num { background: #7b5fd1; }
.steps li:nth-child(3) .num { background: #2f9e62; }
.steps h3 { margin: 4px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.term { margin: 0; background: #241f1b; color: #efe7dc; border-radius: 14px; padding: 16px 20px; font: 14px/1.7 var(--mono); overflow-x: auto; }
.term .p { color: #f0a46f; } .term .c { color: #a0948a; }
.founder { margin-top: 22px; background: var(--peach); border-radius: 14px; padding: 14px 18px; color: #4a2a17; }
.founder span { font-size: 14px; color: var(--peach-ink); }
.fine { font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pdf { display: block; border-top: 1px solid var(--line); padding: 10px; }
  .page { height: auto; padding: 12px; }
  .code { border-right: 0; }
  .actions a { flex: 1 1 auto; text-align: center; }
}

/* Plain-language legal pages */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 40px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 22px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal li { margin-bottom: 8px; }
.legal .fine { text-align: left; }

.lead code { font: 0.86em var(--mono); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.avatar { width: 14px; height: 14px; }

h1, .lead { overflow-wrap: anywhere; }

/* "Try it now" (the /try demo) and the open sign-up box. */
.cta.try { padding: 14px 28px; }
.open-box h3 { margin: 0 0 8px; font-size: 22px; }
.open-box p { color: var(--ink-soft); margin: 0 0 18px; }
.open-box .fine { margin-top: 18px; }
.note .actions { justify-content: center; margin-top: 24px; }
