/* DeedMart landing page. Brand: ventures/business-marketplace/brand/README.md */
:root {
  --forest: #0E2A21;
  --mint: #3DDC97;
  --mint-soft: #D7F5E6;
  --evergreen: #1B6B4A;
  --brass: #E9C46A;
  --brass-ink: #7A5A12;
  --wash: #F1F7F3;
  --cream: #FBF7EC;
  --line: #E3ECE7;
  --ink-2: #2E4239;
  --muted: #4E5F57;
  --muted-2: #62736B;
  --on-dark: #B9CEC4;
  --radius-panel: 32px;
  --radius-card: 24px;
  --shadow: 0 30px 60px -32px rgba(14, 42, 33, 0.38);
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--forest); background: #fff; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--evergreen); outline-offset: 3px; }

/* Highlighter: the one accent treatment. No second typeface. */
.hl { box-shadow: inset 0 -0.26em 0 var(--mint); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-brass { box-shadow: inset 0 -0.26em 0 var(--brass); }
.mint { color: var(--mint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: #17402F; }
.btn-mint { background: var(--mint); color: var(--forest); }
.btn-mint:hover { background: #5BE4A8; }
.btn-brass { background: var(--brass); color: var(--forest); }
.btn-brass:hover { background: #EFCF80; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 170px; height: auto; }
.nav-links { display: flex; gap: 32px; font-weight: 500; }
.nav-links a { text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--evergreen); }

/* Panels */
.panel { margin: 0 16px; border-radius: var(--radius-panel); }
.panel-mint { background: var(--wash); }
.panel-cream { background: var(--cream); }
.panel-dark { background: var(--forest); color: #fff; }

.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .12em; color: var(--evergreen); }
.eyebrow-brass { color: var(--brass-ink); }
.eyebrow-mint { color: var(--mint); }
.lede { font-size: 20px; color: var(--muted); max-width: 580px; }

/* Hero */
.hero { padding: 80px 0 88px; margin-top: 4px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #D4E6DB; border-radius: 999px; padding: 7px 16px 7px 7px; font-size: 14px; font-weight: 500; }
.chip-tag { background: var(--forest); color: var(--mint); font: 500 11px/1 var(--mono); letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -0.035em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.fine svg, .promises svg, .pill svg, .float-icon svg, .float-doc svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fine svg { width: 18px; height: 18px; color: var(--evergreen); flex-shrink: 0; }

.hero-visual { position: relative; min-height: 520px; }
.mock-card { position: absolute; left: 7%; right: 0; top: 30px; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mono-label { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; color: var(--muted-2); }
.mock-title { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.mock-sub { font-size: 15px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill svg { width: 14px; height: 14px; stroke-width: 2.2; }
.pill-mint { background: var(--mint-soft); }
.mock-caption { font-size: 13px; font-weight: 500; color: var(--muted); }
.bars { height: 120px; display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; background: var(--mint-soft); border-radius: 8px 8px 0 0; }
.bars .b2 { background: #BDEFD6; } .bars .b3 { background: #7FE0B1; } .bars .b4 { background: var(--evergreen); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.metrics div { background: #F6F9F7; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.metrics span { font-size: 12px; color: var(--muted); }
.metrics b { font: 500 19px/1.1 var(--mono); }
.float-offer { position: absolute; left: 0; bottom: 8px; background: var(--forest); color: #fff; border-radius: 20px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; box-shadow: 0 24px 40px -20px rgba(14, 42, 33, .5); }
.float-offer small { display: block; font-size: 13px; color: var(--on-dark); }
.float-offer b { display: block; font: 500 20px/1.3 var(--mono); }
.float-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--forest); display: grid; place-items: center; flex-shrink: 0; }
.float-icon svg { width: 20px; height: 20px; }
.float-nda { position: absolute; right: 0; top: -6px; background: #fff; border-radius: 999px; padding: 9px 18px 9px 9px; box-shadow: 0 16px 30px -18px rgba(14, 42, 33, .4); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.float-doc { width: 30px; height: 30px; border-radius: 50%; background: #FBF1CF; color: var(--brass-ink); display: grid; place-items: center; }
.float-doc svg { width: 16px; height: 16px; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 56px; padding-bottom: 64px; }
.promises div { display: flex; gap: 14px; align-items: flex-start; }
.promises svg { width: 28px; height: 28px; color: var(--evergreen); flex-shrink: 0; stroke-width: 1.7; margin-top: 2px; }
.promises b { display: block; font-size: 17px; }
.promises p { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* Split sections */
.split { padding: 80px 0; }
.split + .split { margin-top: 24px; }
.split-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.split h2, .cats h2, .signup h2, .brokers h2 { font-size: clamp(36px, 4.4vw, 54px); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; color: var(--ink-2); }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; background: var(--evergreen); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks-brass li::before { background: var(--brass-ink); }

.mock-list { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mock-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 4px 8px; flex-wrap: wrap; }
.mock-list-head b { font-size: 18px; }
.mock-list-head span { font-size: 13px; color: var(--muted); }
.mock-list .row { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: #F6F9F7; }
.mock-list .row i { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.mock-list .row p { flex: 1; min-width: 0; }
.mock-list .row b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-list .row span { font-size: 13px; color: var(--muted); }
.mock-list .row em { font: normal 500 15px/1 var(--mono); }
.mock-list .row strong { font-size: 12px; font-weight: 600; background: var(--forest); color: var(--mint); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.mock-list small { font-size: 12px; color: var(--muted-2); padding: 2px 4px; }

/* Forms */
.card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.form { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-head h3 { font-size: 24px; letter-spacing: -0.02em; }
.form-head p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form label small { font-weight: 400; color: var(--muted-2); }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #FAFCFB; font: 400 16px/1.3 var(--sans); color: var(--forest); transition: border-color .15s ease; }
.form textarea { resize: vertical; min-height: 88px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--evergreen); background: #fff; }
.form input.mono { font-family: var(--mono); }
.form .invalid { border-color: #B3412E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: var(--evergreen); font-weight: 600; }
.form-status.err { color: #B3412E; }

.roles { border: 0; padding: 0; margin: 0 0 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.roles legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.roles label { position: relative; }
.roles input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.roles span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #FAFCFB; font-weight: 600; font-size: 15px; transition: all .15s ease; }
.roles input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.roles input:focus-visible + span { outline: 3px solid var(--evergreen); outline-offset: 2px; }

/* Categories */
.cats { padding-top: 104px; padding-bottom: 96px; }
.section-head { margin-bottom: 36px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-grid div { border-radius: 22px; padding: 26px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.cat-grid b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.cat-grid span { font-size: 15px; color: var(--ink-2); }
.cat-grid .cat-dark { background: var(--forest); color: #fff; }
.cat-grid .cat-dark span { color: var(--mint); }

/* Brokers */
.brokers { padding: 80px 0; }
.brokers-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.brokers h2 { margin-top: 18px; }
.brokers-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.brokers-copy p { font-size: 19px; color: var(--on-dark); }

/* Signup */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 112px; padding-bottom: 96px; }
.signup-copy { display: flex; flex-direction: column; gap: 22px; }

/* FAQ */
.faq { max-width: 860px; padding-bottom: 104px; }
.faq h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--evergreen); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 17px; max-width: 720px; }

/* Closer */
.closer { padding: 96px 0; text-align: center; }
.closer-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.closer h2 { font-size: clamp(38px, 5vw, 64px); max-width: 860px; }

/* Footer */
.footer { padding: 64px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-inner img { width: 150px; height: auto; }
.footer-inner p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; }
.footer nav a { text-decoration: none; padding: 8px 0; }
.footer nav a:hover { color: var(--evergreen); }
.footer-legal { margin-top: 32px; }
.footer-legal p { border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--muted-2); }

/* Responsive */
@media (max-width: 1020px) {
  .hero-inner, .split-inner, .brokers-inner, .signup { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 480px; max-width: 560px; }
  .split-inner.reverse .split-copy { order: 0; }
  .mock-list { order: 2; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .logo img { width: 140px; }
  .panel { margin: 0 10px; border-radius: 26px; }
  .hero { padding: 48px 0 56px; }
  .lede { font-size: 18px; }
  .hero-visual { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .mock-card, .float-offer, .float-nda { position: static; }
  .float-nda { display: none; }
  .mock-card { padding: 20px; }
  .metrics b { font-size: 16px; }
  .split, .brokers { padding: 56px 0; }
  .cats { padding-top: 72px; padding-bottom: 64px; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 40px; padding-bottom: 48px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 22px; }
  .mock-list .row em { display: none; }
  .signup { padding-top: 72px; padding-bottom: 72px; gap: 32px; }
  .closer { padding: 72px 0; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}

/* =====================================================================
   Motion + wow layer (all of it switches off under prefers-reduced-motion)
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dm-lock, .dm-lock body { overflow: hidden; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translate(-28px, 14px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { background-size: 100% .26em; } }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(.4); opacity: .5; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
@keyframes stemIn { from { transform: translateX(-26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bowlIn { from { transform: translateX(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes check { to { stroke-dashoffset: 0; } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }

.rise { animation: rise .8s var(--d, 0ms) cubic-bezier(.2, .7, .2, 1) both; }
.pop { animation: popIn .9s var(--d, 0ms) cubic-bezier(.2, .7, .2, 1) both; }
.float-offer.slide { animation: slideIn .8s var(--d, 0ms) cubic-bezier(.2, .7, .2, 1) both, bob 6s calc(var(--d, 0ms) + 900ms) ease-in-out infinite; }
.float-nda.pop { animation: popIn .8s var(--d, 0ms) cubic-bezier(.2, .7, .2, 1) both, bob 7s calc(var(--d, 0ms) + 900ms) ease-in-out infinite; }
.mock-card, .float-offer, .float-nda { transition: translate .5s cubic-bezier(.2, .7, .2, 1); }

.hl-draw { box-shadow: none; background: linear-gradient(var(--mint), var(--mint)) 0 92% / 0% .26em no-repeat; animation: draw 1s 800ms cubic-bezier(.6, 0, .2, 1) forwards; }

.bars.grow i { height: var(--h); transform-origin: bottom; animation: bar .9s calc(700ms + var(--i) * 90ms) cubic-bezier(.2, .8, .2, 1) both; }

.float-icon { position: relative; }
.float-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 1.8s 2.3s ease-out infinite; }
.float-icon svg { position: relative; z-index: 1; }

.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(27, 107, 74, .16) 1.2px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 55% 70% at 78% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 55% 70% at 78% 45%, #000 20%, transparent 75%); }
.hero-inner { position: relative; }

.members { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.members b { font-family: var(--mono); font-weight: 500; }
.dm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); position: relative; flex-shrink: 0; }
.dm-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 1.6s ease-out infinite; }

.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-120%) skewX(-20deg); }
.btn-glow:hover::after { animation: shine .9s ease; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .mock-list .row { opacity: 0; transform: translateX(-14px); transition: opacity .6s ease var(--d), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d); }
.js .mock-list.in .row { opacity: 1; transform: none; }
.cat-grid div { transition: transform .25s ease, box-shadow .25s ease, opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .cat-grid div.in { transition: transform .25s ease, box-shadow .25s ease, opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.cat-grid div:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(14, 42, 33, .45); }

/* Marquee of business types */
.marquee { overflow: hidden; padding: 26px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 12px; animation: marquee 48s linear infinite; }
.marquee span { font-size: 15px; font-weight: 500; color: var(--ink-2); background: var(--wash); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; white-space: nowrap; }

/* Closer rings */
.closer { position: relative; overflow: hidden; }
.closer-inner { position: relative; }
.closer-rings i { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(61, 220, 151, .35); animation: ring 6s linear infinite; }
.closer-rings i:nth-child(2) { animation-delay: 2s; }
.closer-rings i:nth-child(3) { animation-delay: 4s; }

/* Social-proof ticker (real signups only; hidden until /api/pulse has enough) */
.dm-ticker { position: fixed; left: 20px; bottom: 20px; z-index: 55; display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100vw - 100px)); background: #fff; color: var(--forest); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font-size: 14px; box-shadow: 0 18px 40px -20px rgba(14, 42, 33, .45); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.dm-ticker.show { opacity: 1; transform: none; }
.dm-ticker em { font-style: normal; color: var(--muted-2); }

/* Success panel (shared by every form) */
.dm-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 8px 0; }
.dm-success h3 { font-size: 30px; letter-spacing: -0.03em; }
.dm-success > p { color: var(--muted); font-size: 16px; max-width: 420px; }
.dm-check { width: 64px; height: 64px; }
.dm-check circle { fill: var(--mint-soft); stroke: var(--mint); stroke-width: 2.5; }
.dm-check path { fill: none; stroke: var(--forest); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: check .6s .15s cubic-bezier(.6, 0, .2, 1) forwards; }
.dm-pos { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--forest); color: #fff; border-radius: 20px; padding: 16px 28px; margin-top: 4px; }
.dm-pos span { font-size: 13px; color: var(--on-dark); }
.dm-pos b { font: 500 40px/1.1 var(--mono); color: var(--mint); }
.dm-share { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; margin-top: 6px; }
.dm-share label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dm-share-row { display: flex; gap: 8px; }
.dm-share-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 14px var(--mono); color: var(--ink-2); background: #FAFCFB; }
.dm-share-row .btn { width: auto; flex-shrink: 0; }
.form.is-done { justify-content: center; min-height: 420px; }
.dm-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 300; }

/* ===== Early-access popup ===== */
.dm-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.dm-backdrop { position: absolute; inset: 0; background: rgba(8, 26, 20, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.dm-dialog { position: relative; width: min(880px, 100%); display: grid; grid-template-columns: 340px minmax(0, 1fr); background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(8, 26, 20, .6); opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); max-height: calc(100vh - 40px); overflow-y: auto; }
.dm-modal.open .dm-backdrop { opacity: 1; }
.dm-modal.open .dm-dialog { opacity: 1; transform: none; }
.dm-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wash); color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.dm-x:hover { background: var(--line); }
.dm-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.dm-pop-art { position: relative; background: var(--forest); display: grid; place-items: center; min-height: 440px; overflow: hidden; }
.dm-pop-mark { width: 150px; height: 150px; position: relative; z-index: 1; }
.dm-pop-mark rect { fill: #fff; animation: stemIn .8s .25s cubic-bezier(.2, .8, .2, 1) both; }
.dm-pop-mark path { fill: var(--mint); animation: bowlIn .8s .25s cubic-bezier(.2, .8, .2, 1) both; }
.dm-pop-rings i { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(61, 220, 151, .45); animation: ring 4.5s 1s linear infinite; }
.dm-pop-rings i:nth-child(2) { animation-delay: 2.5s; }
.dm-pop-rings i:nth-child(3) { animation-delay: 4s; }
.dm-pop-body { padding: 48px 44px 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.dm-pop-body h2 { font-size: 38px; }
.dm-pop-lede { color: var(--muted); font-size: 17px; }
.dm-pop-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.dm-roles { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dm-roles label { position: relative; }
.dm-roles input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dm-roles span { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; transition: all .15s ease; }
.dm-roles input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.dm-roles input:focus-visible + span { outline: 3px solid var(--evergreen); outline-offset: 2px; }
.dm-pop-row { display: flex; gap: 8px; }
.dm-pop-row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; font: 16px var(--sans); color: var(--forest); background: #FAFCFB; }
.dm-pop-row input:focus { outline: none; border-color: var(--evergreen); background: #fff; }
.dm-pop-row input.invalid { border-color: #B3412E; }
.dm-pop-row .btn { width: auto; flex-shrink: 0; }
.dm-pop-fine { font-size: 13px; color: var(--muted-2); }
.dm-dialog.is-done .dm-pop-body { gap: 14px; }

@media (max-width: 760px) {
  .dm-modal { place-items: end center; padding: 0; }
  .dm-dialog { grid-template-columns: minmax(0, 1fr); border-radius: 28px 28px 0 0; max-height: 92vh; transform: translateY(40px); }
  .dm-pop-art { min-height: 150px; }
  .dm-pop-mark { width: 80px; height: 80px; }
  .dm-pop-rings i { width: 180px; height: 180px; }
  .dm-pop-body { padding: 26px 20px 28px; }
  .dm-pop-body h2 { font-size: 30px; }
  .dm-pop-row { flex-direction: column; }
  .dm-pop-row .btn { width: 100%; }
  .dm-ticker { left: 10px; right: 76px; bottom: 14px; }
  .closer-rings i { width: 360px; height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .hl-draw { background-size: 100% .26em; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee span[aria-hidden] { display: none; }
}

/* =====================================================================
   /join - quick signup funnel
   ===================================================================== */
.join-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; }
.join-side { position: relative; overflow: hidden; background: var(--forest); color: #fff; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.join-side .logo img { width: 160px; }
.join-side h1 { font-size: clamp(38px, 4vw, 56px); letter-spacing: -0.035em; }
.join-side .lede { color: var(--on-dark); margin-top: 18px; }
.join-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.join-perks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.join-perks svg { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.join-perks b { display: block; }
.join-perks span { color: var(--on-dark); font-size: 15px; }
.join-side .members { color: var(--on-dark); }
.join-side .members b { color: #fff; }
.join-side .fine-dark { font-size: 13px; color: var(--on-dark); }
.join-side .closer-rings i { left: 85%; top: 85%; width: 420px; height: 420px; }
.join-main { display: flex; flex-direction: column; justify-content: center; padding: 40px 64px; }
.join-card { width: 100%; max-width: 560px; margin: 0 auto; }
.join-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.join-progress .track { flex: 1; height: 6px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.join-progress .fill { height: 100%; width: 33%; background: var(--mint); border-radius: 999px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.join-progress .count { font: 500 13px var(--mono); color: var(--muted-2); white-space: nowrap; }
.join-back { background: none; border: 0; padding: 10px 0; font: 600 15px var(--sans); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.join-back:hover { color: var(--forest); }
.join-back[hidden] { display: none; }
.step { display: none; flex-direction: column; gap: 22px; }
.step.on { display: flex; animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.step h2 { font-size: clamp(30px, 3.4vw, 42px); }
.step .sub { color: var(--muted); font-size: 17px; margin-top: 10px; }
.role-cards { display: grid; gap: 12px; }
.role-card { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; padding: 20px 22px; border-radius: 22px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.role-card:hover { border-color: var(--evergreen); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(14, 42, 33, .45); }
.role-card:focus-visible { outline: 3px solid var(--evergreen); outline-offset: 3px; }
.role-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.role-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role-card b { display: block; font-size: 20px; letter-spacing: -0.01em; }
.role-card span { color: var(--muted); font-size: 15px; }
.role-card .arrow { margin-left: auto; width: 22px; height: 22px; fill: none; stroke: var(--muted-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.role-card:hover .arrow { transform: translateX(4px); stroke: var(--forest); }
.q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.q legend { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #FAFCFB; font-weight: 500; font-size: 15px; transition: all .15s ease; }
.chips input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--evergreen); outline-offset: 2px; }
.join-card .form { padding: 0; box-shadow: none; }
.join-card .dm-success { padding: 20px 0; }

@media (max-width: 960px) {
  .join-page { grid-template-columns: minmax(0, 1fr); }
  .join-side { padding: 22px 20px 28px; gap: 18px; }
  .join-side .lede, .join-perks, .join-side .fine-dark { display: none; }
  .join-side h1 { font-size: 32px; }
  .join-main { padding: 28px 20px 48px; justify-content: flex-start; }
  .join-progress { margin-bottom: 26px; }
}
