/* Yessify's shared frame: a clear way in, a thoughtful place to leave. */
:root { --ys-builder-header-height:125px; }
.ys-header,.ys-chrome-footer { box-sizing:border-box; font-family:'Plus Jakarta Sans',system-ui,sans-serif; color:var(--ys-body,#414141); }
.ys-header *,.ys-chrome-footer * { box-sizing:border-box; }
#site-content { scroll-margin-top:84px; }
#site-content:focus { outline:none; }
.ys-header { position:sticky; top:0; z-index:90; background:#FFFFFFF5; border-bottom:1px solid var(--ys-rule,#E4E4E0); backdrop-filter:blur(16px); }
.ys-header-row { width:min(100%,1200px); min-height:84px; padding:16px 24px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; background:none; border:0; }
.ys-chrome-brand { display:inline-flex; align-items:center; gap:9px; flex-shrink:0; min-height:44px; color:var(--ys-ink,#171717); text-decoration:none; }
.ys-chrome-brand img { display:block; width:36px; height:36px; object-fit:contain; }
.ys-chrome-brand > span { font:600 25px/1 'Outfit',sans-serif; letter-spacing:-.055em; }
.ys-header a,.ys-header summary,.ys-chrome-footer a { touch-action:manipulation; -webkit-tap-highlight-color:transparent; text-underline-offset:5px; }
.ys-header a:focus-visible,.ys-header summary:focus-visible,.ys-chrome-footer a:focus-visible { outline:2px solid var(--ys-accent,#D90409); outline-offset:4px; border-radius:6px; }
.ys-header-links { display:flex; align-items:center; gap:24px; }
.ys-header-links > a { display:inline-flex; align-items:center; position:relative; min-height:44px; color:var(--ys-body,#414141); text-decoration:none; font-size:12px; font-weight:600; white-space:nowrap; }
.ys-header-links > a::after { content:''; position:absolute; inset:auto 0 3px; height:2px; background:var(--ys-accent,#D90409); transform:scaleX(0); transform-origin:left; transition:transform 160ms ease-out; }
.ys-header-links > a:hover,.ys-header-links > a[aria-current] { color:var(--ys-accent,#D90409); }
.ys-header-links > a:hover::after,.ys-header-links > a[aria-current]::after { transform:scaleX(1); }
.ys-header-actions { display:flex; align-items:center; flex-shrink:0; gap:14px; }
.ys-chrome-primary { display:inline-flex; align-items:center; justify-content:center; gap:14px; flex-shrink:0; min-height:46px; padding:12px 18px; border-radius:12px; background:var(--ys-action,#D90409); color:#FFF; text-decoration:none; font-size:13px; font-weight:600; line-height:1.5; transition:background 160ms,transform 160ms; }
.ys-chrome-primary:hover { background:var(--ys-action-hover,#B80308); color:#FFF; }
.ys-chrome-primary:active { transform:translateY(1px); }
.ys-chrome-primary svg { width:18px; height:18px; }
.ys-chrome-quiet { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 4px; font-size:12px; font-weight:600; line-height:1.5; color:var(--ys-ink,#171717); text-decoration:none; white-space:nowrap; }
.ys-chrome-quiet:hover { color:var(--ys-accent,#D90409); }
.ys-chrome-short { display:none; }
.ys-header-menu { display:none; }
.ys-header-menu > summary { position:relative; list-style:none; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid var(--ys-rule,#E4E4E0); border-radius:12px; cursor:pointer; color:var(--ys-ink,#171717); background:white; }
.ys-header-menu > summary::-webkit-details-marker { display:none; }
.ys-header-menu[open] > summary { color:var(--ys-accent,#D90409); border-color:var(--ys-accent,#D90409); background:var(--ys-ground,#FAFAF9); }
.ys-menu-icon { transition:transform 160ms; }
.ys-header-menu[open] .ys-menu-icon { opacity:0; }
.ys-header-menu[open] > summary::before,.ys-header-menu[open] > summary::after { content:''; position:absolute; width:20px; height:1.6px; background:currentColor; transform:rotate(45deg); }
.ys-header-menu[open] > summary::after { transform:rotate(-45deg); }
.ys-header-menu-panel { position:absolute; top:calc(100% - 1px); left:0; right:0; max-height:calc(100svh - 88px); overflow:auto; overscroll-behavior:contain; padding:16px max(24px,calc((100vw - 1152px)/2)) 24px; background:white; border-block:1px solid var(--ys-rule,#E4E4E0); box-shadow:0 16px 30px #0000000A; }
.ys-header-menu-panel > p { margin:0; padding:12px 0; color:var(--ys-muted,#666); font-size:12px; }
.ys-header-menu-panel a { display:flex; align-items:center; min-height:48px; padding:10px 0; color:var(--ys-ink,#171717); text-decoration:none; font-size:16px; font-weight:500; }
.ys-header-menu-panel a:hover,.ys-header-menu-panel a[aria-current] { color:var(--ys-accent,#D90409); }
.ys-header-menu-bottom { display:grid; grid-template-columns:2fr 1fr 1fr; gap:24px; margin-top:12px; padding-top:12px; border-top:1px solid var(--ys-rule,#E4E4E0); }
.ys-header-menu-bottom > a { align-items:flex-start; justify-content:center; flex-direction:column; font-size:13px; }
.ys-header-menu-bottom span { font-size:12px; color:var(--ys-muted,#666); line-height:1.6; font-weight:400; margin-top:3px; }
.ys-chrome-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ys-header--studio .ys-header-row { min-height:76px; }
.ys-header-context { flex:1; padding-left:24px; border-left:1px solid var(--ys-rule,#E4E4E0); font-size:13px; font-weight:500; margin:0; }
.ys-chrome-help { display:flex; width:44px; height:44px; align-items:center; justify-content:center; border:1px solid var(--ys-rule,#E4E4E0); border-radius:12px; color:var(--ys-body,#414141); }
.ys-chrome-help:hover { color:var(--ys-accent,#D90409); border-color:var(--ys-accent,#D90409); }
.ys-studio-step { display:flex; justify-content:space-between; gap:16px; width:min(100% - 48px,460px); margin:0 auto 10px; font-size:12px; line-height:18px; color:var(--ys-muted,#666); }
.ys-studio-step > :first-child { color:var(--ys-ink,#171717); font-weight:600; }
.ys-studio-progress { display:flex; width:min(100% - 48px,460px); margin:0 auto 16px; gap:5px; }
.ys-studio-progress > span { flex:1; height:4px!important; border-radius:3px; }
.ys-chrome-footer { position:relative; z-index:2; background:white; border-top:1px solid var(--ys-rule,#E4E4E0); padding:0; margin:0; text-align:left; }
.ys-chrome-footer-inner { width:min(100%,1200px); margin:0 auto; padding:0 24px; }
.ys-chrome-footer-invite { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:50px 0 42px; border-bottom:1px solid var(--ys-rule,#E4E4E0); }
.ys-chrome-footer-invite > h2 { margin:0; color:var(--ys-ink,#171717); font:500 clamp(30px,3.8vw,46px)/1.1 'Outfit',sans-serif; letter-spacing:-.04em; text-wrap:balance; }
.ys-chrome-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:48px; padding:40px 0; }
.ys-chrome-footer-story > p { font-size:13px; line-height:1.9; margin:16px 0 8px; color:var(--ys-muted,#666); }
.ys-chrome-email { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--ys-accent,#D90409); text-decoration:none; overflow-wrap:anywhere; }
.ys-chrome-footer-grid nav { display:flex; align-items:flex-start; flex-direction:column; }
.ys-chrome-footer-grid h3 { margin:8px 0 10px; color:var(--ys-ink,#171717); font:600 13px/1.5 'Plus Jakarta Sans',sans-serif; letter-spacing:0; }
.ys-chrome-footer-grid nav > a { display:flex; align-items:center; min-height:44px; padding:8px 0; font-size:13px; line-height:1.5; color:var(--ys-body,#414141); text-decoration:none; }
.ys-chrome-footer a:hover { text-decoration:underline; }
.ys-chrome-footer .ys-chrome-brand:hover,.ys-chrome-footer .ys-chrome-primary:hover { text-decoration:none; }
.ys-chrome-footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0 22px; border-top:1px solid var(--ys-rule,#E4E4E0); }
.ys-chrome-footer-bottom > p,.ys-chrome-copyright { font-size:12px; line-height:1.7; color:var(--ys-muted,#666); margin:0; }
.ys-chrome-footer-bottom nav,.ys-chrome-footer--compact nav { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.ys-chrome-footer-bottom nav a,.ys-chrome-footer--compact nav a { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; color:inherit; font-size:12px; line-height:1.5; text-decoration:none; }
.ys-chrome-footer--compact .ys-chrome-footer-inner { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:16px 32px; padding-block:24px; }
.ys-chrome-footer-signature { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.ys-chrome-footer-signature > span { font-size:12px; line-height:1.7; color:var(--ys-muted,#666); }
.ys-chrome-footer--compact .ys-chrome-brand > span { font-size:22px; }
.ys-chrome-footer--compact .ys-chrome-brand img { width:28px; height:28px; }
.ys-chrome-footer--compact .ys-chrome-copyright { flex-basis:100%; }
.ys-chrome-footer--recipient { background:transparent; color:var(--dc-text); border-color:var(--dc-cardBorder); margin-top:40px; }
.ys-chrome-footer--recipient .ys-chrome-brand { color:var(--dc-heading); }
.ys-chrome-footer--recipient .ys-chrome-footer-signature > span { color:var(--dc-muted); }
.ys-chrome-footer--recipient a:focus-visible { outline-color:var(--dc-accent); }
.ys-recipient-nav .ys-recipient-mark { display:inline-flex; align-items:center; justify-content:center; padding:6px 14px; min-height:40px; border:1px solid var(--dc-cardBorder); border-radius:14px; background:var(--recipient-surface); }
.ys-recipient-nav .ys-icon-button { min-height:44px; padding:10px 14px; border-radius:12px; border:1px solid transparent; }
.ys-recipient-nav .ys-icon-button:hover,.ys-recipient-nav .ys-icon-button:focus-visible { background:var(--recipient-surface); border-color:var(--dc-cardBorder); text-decoration:none; }
.ys-admin-workspace > .ys-chrome-footer--compact .ys-chrome-footer-signature > span { display:none; }
@media(max-width:1100px) and (min-width:1024px) { .ys-header-row { gap:20px; } .ys-header-links { gap:16px; } .ys-header-actions { gap:12px; } }
@media(max-width:1023px) { .ys-header-links,.ys-header-dashboard { display:none; } .ys-header-menu { display:block; } .ys-header-actions { margin-left:auto; } }
@media(max-width:760px) {
  :root { --ys-builder-header-height:121px; }
  .ys-header-row { min-height:72px; padding:12px 20px; gap:12px; }
  .ys-chrome-brand { gap:7px; } .ys-chrome-brand > span { font-size:24px; } .ys-chrome-brand img { width:32px; height:32px; }
  .ys-header-actions { gap:10px; }
  .ys-chrome-wide { display:none; } .ys-chrome-short { display:inline; }
  .ys-header .ys-chrome-primary { min-height:44px; padding:11px 14px; font-size:12px; gap:8px; }
  .ys-header .ys-chrome-primary svg { display:none; }
  .ys-header-menu-panel { padding:12px 20px 20px; max-height:calc(100svh - 72px); }
  .ys-header-menu-bottom { grid-template-columns:1fr 1fr; gap:4px 20px; } .ys-header-menu-bottom > a:first-child { grid-column:1/-1; }
  .ys-header-context { display:none; }
  .ys-header--studio .ys-header-row { min-height:72px; }
  .ys-chrome-footer-inner { padding-inline:20px; }
  .ys-chrome-footer-invite { padding:36px 0 30px; gap:24px; }
  .ys-chrome-footer-invite > h2 { font-size:32px; }
  .ys-chrome-footer-invite > .ys-chrome-primary { font-size:12px; padding:12px 14px; gap:8px; }
  .ys-chrome-footer-grid { grid-template-columns:1fr 1fr; gap:28px; padding:30px 0; }
  .ys-chrome-footer-story { grid-column:1/-1; }
  .ys-chrome-footer-story > p { margin-top:10px; }
  .ys-chrome-footer-bottom { flex-direction:column; align-items:flex-start; gap:8px; }
  .ys-chrome-footer--compact .ys-chrome-footer-inner { align-items:flex-start; flex-direction:column; gap:12px; }
  body:has(.ys-page--builder) > .ys-chrome-footer { padding-bottom:100px; }
  .ys-chrome-footer-signature { gap:12px; }
  .ys-recipient .ys-recipient-nav > div { gap:6px; }
  .ys-recipient .ys-recipient-nav .ys-icon-button { padding-inline:8px; }
}
@media(max-width:370px) {
  .ys-header-row { padding-inline:16px; gap:8px; } .ys-header-actions { gap:8px; }
  .ys-chrome-footer-invite { align-items:flex-start; flex-direction:column; } .ys-chrome-footer-invite > h2 br { display:none; }
  .ys-chrome-footer-signature { align-items:flex-start; flex-direction:column; gap:4px; }
  .ys-recipient .ys-recipient-nav { padding-inline:12px; gap:10px; }
  .ys-recipient .ys-recipient-nav .ys-recipient-mark { padding:6px 8px; font-size:15px; min-height:36px; }
  .ys-recipient .ys-recipient-nav .ys-icon-button { font-size:11px; padding-inline:6px; gap:5px; }
}
@media(prefers-reduced-motion:reduce) { .ys-header *, .ys-chrome-footer * { transition:none!important; animation:none!important; } }
