/* joincividian.com: calm, paper and ink. Mobile first. */
:root {
  --ink: #111b1a;
  --ink-2: #1b2826;
  --paper: #f5f0e7;
  --paper-2: #ece5d8;
  --card: #fffdf8;
  --brass: #b29b72;
  --brass-dark: #7d6a45;
  --sage: #b9c9bd;
  --muted: #56615e;
  --line: rgba(17, 27, 26, 0.14);
  --error: #9b2c1f;
  --ok: #2f5d45;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(17, 27, 26, 0.06), 0 12px 32px rgba(17, 27, 26, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass-dark); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 680; }
h1 { font-size: clamp(2rem, 7.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code { font-size: 0.92em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 5px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow-wrap { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 240, 231, 0.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.wordmark { font-weight: 720; letter-spacing: -0.02em; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.wordmark::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); margin-right: 8px; vertical-align: 1px; }
p.wordmark { margin-bottom: 1.5rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--paper); font: inherit; font-weight: 620; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #c3ae86; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.linklike { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 0.92rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.linklike[disabled] { color: var(--muted); text-decoration: none; cursor: default; }

/* hero */
.hero { padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "art"; }
.hero-copy { grid-area: copy; }
.hero-form { grid-area: form; }
.hero-art { grid-area: art; display: flex; justify-content: center; padding: 8px 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 650; color: var(--brass-dark); margin-bottom: 0.9rem; }
.lede { font-size: 1.08rem; color: #2c3735; max-width: 38em; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-areas: "copy art" "form art"; column-gap: 56px; row-gap: 8px; }
  .hero-art { align-items: center; padding: 0; }
  .hero-form { max-width: 480px; }
}

/* form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.form-card:focus { outline: none; }
@media (min-width: 480px) { .form-card { padding: 26px; } }
.form-title { font-size: 1.3rem; margin-bottom: 0.8rem; }
.form-intro { color: #2c3735; font-size: 0.98rem; }
.field { margin-bottom: 14px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid rgba(17, 27, 26, 0.28); border-radius: 12px; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus { border-color: var(--ink); outline: 3px solid rgba(178, 155, 114, 0.45); outline-offset: 0; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
#code { font-size: 1.5rem; letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; }
.hint { font-size: 0.84rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--error); font-size: 0.88rem; margin: 6px 0 0; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; margin: 14px 0 6px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.check label { font-weight: 450; font-size: 0.88rem; line-height: 1.45; margin: 0; }
.check-optional label { color: #3a4543; font-size: 0.8rem; }
.check-optional { margin-bottom: 16px; }
.form-note { font-size: 0.84rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #f7e4df; color: var(--error); font-size: 0.92rem; }
.saved { display: inline-block; background: #e3ece5; color: var(--ok); border-radius: 999px; padding: 4px 12px; font-size: 0.84rem; font-weight: 600; margin-bottom: 12px; }
.notice p:last-child { margin: 0; }
.row-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-foot { margin: 12px 4px 0; }

/* PDF mockup, built in CSS */
.book { position: relative; width: min(300px, 74vw); aspect-ratio: 8.5 / 11; transform: rotate(-3deg); }
@media (min-width: 900px) { .book { width: 360px; } }
.book-page { position: absolute; inset: 10px -12px -10px 12px; background: var(--card); border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.book-cover {
  position: absolute; inset: 0; border-radius: 6px 12px 12px 6px; overflow: hidden;
  background: linear-gradient(160deg, #182624 0%, var(--ink) 60%);
  color: var(--paper); padding: 11% 10%; display: flex; flex-direction: column;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 48px rgba(17, 27, 26, 0.28);
}
.book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.04)); }
.cover-map {
  position: absolute; right: -8%; bottom: 14%; width: 78%; aspect-ratio: 1; opacity: 0.55;
  background-image:
    linear-gradient(rgba(185, 201, 189, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 201, 189, 0.35) 1px, transparent 1px),
    linear-gradient(rgba(185, 201, 189, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 201, 189, 0.16) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  transform: rotate(8deg);
  -webkit-mask-image: radial-gradient(circle at 60% 55%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at 60% 55%, #000 30%, transparent 72%);
}
.cover-map::after { content: ""; position: absolute; left: 40%; top: 36%; width: 20%; height: 28%; border: 2px solid var(--brass); background: rgba(178, 155, 114, 0.22); }
.cover-kicker { position: relative; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brass); margin: 0 0 1.1em; font-weight: 650; }
.cover-title { position: relative; font-size: clamp(1.45rem, 6.4vw, 2.05rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 720; margin: 0 0 0.6em; }
.cover-sub { position: relative; font-size: 0.8rem; line-height: 1.4; color: var(--sage); max-width: 15em; margin: 0; }
.cover-foot { position: relative; margin: auto 0 0.8em; font-size: 0.66rem; color: rgba(245, 240, 231, 0.7); max-width: 18em; line-height: 1.4; }
.cover-brand { position: relative; margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: -0.01em; border-top: 1px solid rgba(178, 155, 114, 0.5); padding-top: 0.7em; }
.book-mini { width: 96px; transform: rotate(-2deg); }
.book-mini .book-cover { padding: 12px 10px; }
.book-mini .cover-title { font-size: 0.72rem; }

/* sections */
.section { padding: 56px 0; }
.section-tight { padding: 12px 0 8px; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-intro { color: #2c3735; font-size: 1.05rem; max-width: 40em; }
.section-paper { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink p { color: #d6dcd6; }
.section-ink :focus-visible { outline-color: var(--brass); }

.inside-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: inside; }
@media (min-width: 700px) { .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .inside-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inside-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: inside; }
.inside-grid li::before { content: counter(inside, decimal-leading-zero); display: block; font-size: 0.8rem; font-weight: 700; color: var(--brass-dark); letter-spacing: 0.08em; margin-bottom: 10px; }
.inside-grid p, .who-grid p { margin: 0; color: #3a4543; font-size: 0.97rem; }

.excerpt { margin: 28px 0 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.excerpt-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-dark); font-weight: 700; }
.excerpt blockquote { margin: 0 0 14px; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 1.12rem; line-height: 1.6; }
.excerpt figcaption { font-size: 0.9rem; font-weight: 600; }
.excerpt-note { font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; }
.is-placeholder blockquote { color: var(--muted); font-style: italic; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #f1e6cf; color: #6a5a38; font-size: 0.7rem; letter-spacing: 0.04em; }

.who-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.who-grid li { padding: 18px 20px; border-radius: var(--radius); background: rgba(185, 201, 189, 0.32); border: 1px solid rgba(17, 27, 26, 0.08); }

.stack { list-style: none; padding: 0; margin: 28px 0 32px; }
.stack li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid rgba(245, 240, 231, 0.14); }
.stack li:last-child { border-bottom: 1px solid rgba(245, 240, 231, 0.14); }
.stack h3 { margin-bottom: 4px; }
.stack p { margin: 0; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: var(--brass); position: relative; margin-top: 1px; }
.tick::after { content: ""; position: absolute; left: 9px; top: 5px; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 620; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--brass-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #2c3735; margin: 0 0 18px; }

.final { background: var(--paper-2); }

/* footer */
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.footer-links a { font-size: 0.92rem; overflow-wrap: anywhere; }

/* welcome */
.welcome { padding: 32px 0 56px; }
.welcome h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 18px 0; box-shadow: var(--shadow); }
@media (min-width: 600px) { .card { padding: 26px; } }
.card h2 { font-size: 1.3rem; }
.card-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-ink h2 { color: var(--paper); }
.card-ink p { color: #d6dcd6; }
.card-ink :focus-visible { outline-color: var(--brass); }
.position-card { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 4px; font-weight: 650; }
.stat { font-size: clamp(2.4rem, 12vw, 3.4rem); font-weight: 720; letter-spacing: -0.03em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.stat-small { font-size: 2rem; }
.pdf-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; }
.pdf-thumb .book { margin: 0; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1 1 auto; min-width: 0; font-size: 15px; }
.share-label { font-size: 0.84rem; color: var(--muted); margin: 16px 0 8px; font-weight: 600; }
.share { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.share a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.92rem; background: #fff; }
.next-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.next-steps li { border-left: 3px solid var(--sage); padding: 2px 0 2px 16px; }
.next-steps p { margin: 0; color: #3a4543; }
.video-card video { width: 100%; border-radius: 12px; background: var(--ink); margin: 10px 0; aspect-ratio: 16 / 9; }

/* plain pages: legal, unsubscribe, admin */
.plain { padding: 0; }
.narrow { max-width: 620px; margin: 0 auto; padding: 48px 16px; }
.legal { padding: 32px 0 56px; }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.legal h2 { font-size: 1.2rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.admin { padding-top: 32px; padding-bottom: 48px; }
.admin-auth { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-bottom: 16px; }
.admin-auth .btn { justify-self: start; }
.table-scroll { overflow-x: auto; margin: 12px 0 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--paper-2); font-weight: 650; }

/* cookie notice */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); max-width: 560px; margin: 0 auto; }
.cookie p { margin: 0 0 12px; font-size: 0.9rem; color: #d6dcd6; }
.cookie a { color: var(--paper); }
.cookie .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; }
.cookie .btn-ghost { color: var(--paper); border-color: rgba(245, 240, 231, 0.3); }
.cookie :focus-visible { outline-color: var(--brass); }
.copy-row .btn { white-space: nowrap; }
.footer-links .footer-cookie { padding: 0; min-height: 0; font-size: 0.92rem; line-height: inherit; }

/* real cover image mockup */
.book-img { aspect-ratio: auto; }
.book-cover-img { position: relative; width: 100%; height: auto; border-radius: 4px 10px 10px 4px; border: 1px solid rgba(17, 27, 26, 0.12); box-shadow: 0 2px 4px rgba(17, 27, 26, 0.12), 0 24px 48px rgba(17, 27, 26, 0.22); background: var(--card); }
.mini-cover { width: 96px; height: auto; border-radius: 3px 6px 6px 3px; border: 1px solid rgba(17, 27, 26, 0.12); box-shadow: 0 10px 24px rgba(17, 27, 26, 0.18); transform: rotate(-2deg); }
.proof-returns { margin-top: 28px; }
.proof-returns h3 { font-size: 1.05rem; }
.proof-returns p { color: #2c3735; }
.excerpt figcaption a { font-weight: 500; }
.inside-grid li p { color: var(--ink); font-size: 1rem; }
.why { margin-top: 14px; font-size: 0.88rem; }
.why summary { cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; min-height: 44px; display: flex; align-items: center; }
.why p { color: #3a4543; margin: 4px 0 0; line-height: 1.5; }

/* ---------- v2: progress, video, demo, how, founding ---------- */
.progress { margin: -4px 0 6px; }
.progress-bar { display: block; height: 4px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 50%; background: var(--brass); border-radius: 999px; transition: width 0.3s ease; }
.progress-label { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; color: var(--brass-dark); margin: 0 0 12px; }
.form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.form-head .form-title { margin: 0; }
.form-cover { width: 44px; height: auto; border-radius: 2px 4px 4px 2px; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(17, 27, 26, 0.14); flex: none; }

.phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone-frame { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 36px; padding: 10px; background: var(--ink); box-shadow: 0 2px 6px rgba(17, 27, 26, 0.2), 0 30px 60px rgba(17, 27, 26, 0.25); }
.phone-video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; background: #1b2826; display: block; cursor: pointer; }
.video-toggle { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(245, 240, 231, 0.35); background: rgba(17, 27, 26, 0.72); color: var(--paper); font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(17, 27, 26, 0.78); cursor: pointer; }
.video-play span { position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--paper); }
.video-toggle:focus-visible, .video-play:focus-visible { outline-color: var(--brass); }
.phone-caption { font-size: 0.86rem; color: var(--muted); text-align: center; max-width: 300px; }
@media (min-width: 900px) { .phone-frame { width: 320px; } }

.section-tight-top { padding-top: 24px; }
@media (min-width: 900px) { .section-tight-top { padding-top: 40px; } }
.demo-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; } }
.demo-form { margin: 18px 0 14px; }
.demo-row { display: flex; gap: 8px; }
.demo-row input { flex: 1 1 auto; min-width: 0; }
.demo-row .btn { flex: none; }
.honesty { font-size: 0.92rem; color: #2c3735; border-left: 3px solid var(--sage); padding-left: 12px; margin-top: 16px; }
.honesty-center { border-left: 0; padding-left: 0; font-weight: 600; }

.terminal { background: #162220; color: #d9e2dc; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #22312e; }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1d2b28; border-bottom: 1px solid #263633; }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4a46; }
.terminal-bar em { margin-left: auto; font-style: normal; font-size: 0.75rem; color: #8fa39a; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.terminal-body { margin: 0; padding: 16px 16px 18px; min-height: 13.5em; font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: #d9e2dc; }
@media (min-width: 480px) { .terminal-body { font-size: 14px; } }

.locked { position: relative; margin-top: 14px; border-radius: 14px; background: var(--card); border: 1px dashed rgba(125, 106, 69, 0.55); overflow: hidden; }
.locked-lines { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 12px; filter: blur(3px); opacity: 0.5; }
.locked-lines span { display: block; height: 10px; border-radius: 6px; background: var(--paper-2); }
.locked-lines span:nth-child(1) { width: 92%; } .locked-lines span:nth-child(2) { width: 78%; } .locked-lines span:nth-child(3) { width: 85%; } .locked-lines span:nth-child(4) { width: 60%; }
.locked-body { position: relative; padding: 20px; background: linear-gradient(180deg, rgba(255, 253, 248, 0.6), rgba(255, 253, 248, 0.96) 35%); }
.locked-title { display: flex; gap: 10px; align-items: flex-start; font-weight: 680; font-size: 1.05rem; line-height: 1.35; margin-bottom: 8px; }
.lock { flex: none; position: relative; width: 16px; height: 13px; margin-top: 7px; border-radius: 3px; background: var(--brass-dark); }
.lock::before { content: ""; position: absolute; left: 3px; top: -8px; width: 10px; height: 10px; border: 2px solid var(--brass-dark); border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box; }
.locked-text { color: #3a4543; font-size: 0.95rem; }

.how-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how-grid p { margin: 0; color: #3a4543; }
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
.founding { background: rgba(185, 201, 189, 0.28); }

/* welcome v2 */
.btn-big { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.pdf-primary { border-color: rgba(125, 106, 69, 0.35); }
.video-box { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); margin: 10px 0; }
.video-box video { width: 100%; height: 100%; margin: 0; border-radius: 0; }
.booking { margin: 16px 0 0; font-size: 0.95rem; }
.booking a { color: var(--paper); }
.video-play { inset: auto; top: 30%; left: 50%; transform: translate(-50%, -50%); margin: 0; }
@media (min-width: 900px) { .hero h1 { font-size: 2.9rem; } .hero { padding-top: 48px; } }
@media (max-width: 520px) { .pdf-primary { grid-template-columns: minmax(0, 1fr); } .pdf-primary .pdf-thumb { display: none; } .pdf-primary .btn-big { width: 100%; } }
.pdf-ready { margin: 4px 0 16px; }
/* v4: keep the whole frame of the short visible, top-align the phone on desktop */
.phone-video { object-fit: contain; object-position: center; background: #121b1a; }
@media (min-width: 900px) { .hero-art { align-self: start; align-items: flex-start; padding-top: 12px; } }
.account-card { border-color: rgba(17, 27, 26, 0.22); }
