/* Scoped extension of the existing V1 system; original Hero/contact styles stay intact. */
.exchange-section .story-title { max-width:15em; text-wrap:balance; }
.exchange-section .exchange-invitation { margin-top:12px; color:var(--secondary); font-size:14px; line-height:1.8; }
.exchange-trigger { margin-top:24px; }
.exchange-label { margin-top:12px; color:var(--secondary); font-size:12px; line-height:1.7; text-align:center; }
body.has-exchange-sheet { position:fixed; width:100%; overflow:hidden; }
.exchange-sheet {
  position:fixed; inset:auto 0; bottom:var(--exchange-vv-bottom,0px); margin:0 auto;
  max-height:calc(var(--exchange-vv-height,100dvh) - 16px);
  overflow:hidden;
}
.exchange-surface { display:flex; flex-direction:column; max-height:inherit; }
.exchange-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 24px max(24px,env(safe-area-inset-bottom)); scroll-padding:16px 0 24px; scrollbar-width:thin; scrollbar-color:#c7c9cc transparent; }
.exchange-header { flex-shrink:0; padding:12px 24px; background:var(--paper); }
.exchange-header .sheet-handle { margin-bottom:16px; }
.exchange-title-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.exchange-title-row h2 { font-size:22px; line-height:1.4; margin:0; }
.exchange-description { margin:8px 0 24px; color:var(--secondary); font-size:14px; line-height:1.8; }
.exchange-fields { margin:0; padding:0; border:0; min-width:0; display:grid; gap:20px; }
.exchange-field { min-width:0; display:grid; gap:8px; }
.exchange-field label { font-size:14px; line-height:1.6; font-weight:600; }
.exchange-field label span { font-size:12px; color:var(--secondary); font-weight:400; margin-left:8px; }
.exchange-field input,.exchange-field textarea {
  display:block; width:100%; min-width:0; min-height:52px; padding:12px 14px;
  border:1px solid #dfe1e3; border-radius:12px; background:#fafafa; color:var(--ink);
  font:inherit; font-size:16px; line-height:1.5; caret-color:var(--ink);
  appearance:none; -webkit-appearance:none; scroll-margin-block:16px 24px;
}
.exchange-field textarea { min-height:112px; resize:vertical; max-height:240px; }
.exchange-field input::placeholder,.exchange-field textarea::placeholder { color:var(--secondary); opacity:1; }
.exchange-field input:focus,.exchange-field textarea:focus { outline:2px solid var(--ink); outline-offset:2px; background:var(--paper); }
.exchange-field [aria-invalid=true] { border-color:#b42318; }
.exchange-field [aria-invalid=true]:focus { outline-color:#b42318; }
.exchange-field input:disabled,.exchange-field textarea:disabled { opacity:.7; -webkit-text-fill-color:var(--ink); }
.exchange-error { color:#b42318; font-size:12px; line-height:1.7; margin:0; }
.exchange-hint { margin-top:16px; color:var(--secondary); font-size:12px; line-height:1.8; }
.exchange-status { margin-top:20px; font-size:14px; line-height:1.8; color:var(--secondary); overflow-wrap:anywhere; }
.exchange-status[data-state=error] { color:#b42318; }
.exchange-submit { margin-top:24px; }
.exchange-submit:disabled { opacity:1; background:#52565a; color:var(--paper); }
.exchange-submit[aria-busy=true]::before { content:''; width:16px; height:16px; border:2px solid #ffffff70; border-top-color:var(--paper); border-radius:50%; animation:exchange-spin .7s linear infinite; }
.exchange-privacy,.exchange-demo { font-size:12px; line-height:1.8; text-align:center; color:var(--secondary); }
.exchange-privacy { margin-top:16px; }
.exchange-demo { margin-top:4px; }
.exchange-success { text-align:center; padding:20px 0 8px; }
.exchange-success-mark { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 24px; border-radius:50%; background:var(--soft); }
.exchange-success h3 { font-size:22px; line-height:1.5; letter-spacing:-.4px; font-weight:600; margin:0; overflow-wrap:anywhere; outline:none; }
.exchange-success p { margin-top:12px; font-size:14px; line-height:1.8; color:var(--secondary); }
.exchange-done { margin-top:32px; }
@keyframes exchange-spin { to { transform:rotate(360deg); } }
@media(max-width:359px) { .exchange-header,.exchange-body { padding-left:20px; padding-right:20px; } }
@media(prefers-reduced-motion:reduce) { .exchange-submit[aria-busy=true]::before { animation:none; } }
.exchange-consent { display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.7; margin:16px 0; color:var(--ink); }
.exchange-consent input { width:22px; height:22px; flex-shrink:0; margin:4px 0; accent-color:#111; }
.exchange-consent a { color:inherit; text-underline-offset:3px; }
