/* Shared public chrome: the one header and footer on every public page —
   generated storefront pages, /start, docs, legal, /account, and /connect.
   Self-contained (cm- prefix, own tokens import) so pages with their own
   stylesheets can adopt it without style collisions. Built by
   sales-site/build.mjs into /chrome.css. */
@import url("/product-tokens.css");
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');

.cm-skip{position:fixed;top:-100px;left:12px;z-index:100;background:#fff;color:var(--cmcp-ink);padding:12px 16px;border-radius:6px;font:600 14px var(--cmcp-font-body)}
.cm-skip:focus{top:12px}

.cm-nav{position:relative;z-index:20;background:var(--cmcp-surface);border-bottom:1px solid var(--cmcp-line);font-family:var(--cmcp-font-body);color:var(--cmcp-ink)}
.cm-nav-inner{max-width:1320px;margin:0 auto;padding:0 56px;height:76px;display:flex;align-items:center;gap:28px}
.cm-nav a{color:inherit;text-decoration:none}
.cm-brand{display:inline-flex;align-items:center;gap:10px;font-size:21px;letter-spacing:-.04em;font-weight:700;white-space:nowrap;margin-right:auto}
.cm-brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--cmcp-ink);color:var(--cmcp-accent);font:22px/1 Georgia,serif}
.cm-links{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:600}
.cm-links a:hover,.cm-footer a:hover{color:#578128}
.cm-links a[aria-current=page]{color:#578128}
.cm-actions{display:flex;align-items:center;gap:20px;font-size:14px;font-weight:600}
.cm-cta{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;min-height:42px;padding:10px 18px;border-radius:5px;background:var(--cmcp-ink);color:#fff!important;font-weight:600;transition:background .2s,transform .2s}
.cm-cta:hover{background:#315442;transform:translateY(-1px)}
.cm-menu{display:none;border:0;background:none;font-size:24px;line-height:1;color:inherit;cursor:pointer;padding:4px}
.cm-nav a:focus-visible,.cm-nav button:focus-visible,.cm-footer a:focus-visible{outline:3px solid #78a844;outline-offset:4px;border-radius:3px}
/* Sign in lives in the mobile menu, where the header hides .cm-signin. */
.cm-links .cm-menu-signin{display:none}
body[data-signed-in=true] .cm-signed-out,body:not([data-signed-in=true]) .cm-signed-in{display:none}

.cm-footer{font-family:var(--cmcp-font-body);color:var(--cmcp-ink);border-top:1px solid var(--cmcp-line);background:var(--cmcp-surface)}
.cm-footer-inner{max-width:1320px;margin:0 auto;padding:44px 56px 32px}
.cm-footer a{color:inherit;text-decoration:none}
.cm-footer-top{display:flex;justify-content:space-between;gap:40px;margin-bottom:40px}
.cm-footer-copy p{margin:12px 0 0;font-size:13px;max-width:320px;color:var(--cmcp-muted)}
.cm-footer-links{display:flex;gap:64px;font-size:13px}
.cm-footer-links div{display:flex;flex-direction:column;gap:9px}
.cm-footer-links strong{font-size:12px;color:#77806e;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.cm-footer-bottom{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--cmcp-line);padding-top:22px;font-size:12px;color:#74816c}

@media(max-width:1100px){.cm-nav-inner,.cm-footer-inner{padding-left:32px;padding-right:32px}.cm-links{gap:18px}}
@media(max-width:850px){
  .cm-nav-inner{height:68px;gap:16px}
  .cm-links{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:16px;background:var(--cmcp-surface);padding:22px 32px;border-bottom:1px solid var(--cmcp-line)}
  .cm-links.open{display:flex}
  .cm-menu{display:block}
  .cm-actions .cm-signin{display:none}
  .cm-links .cm-menu-signin{display:block}
  body[data-signed-in=true] .cm-links .cm-menu-signin{display:none}
  .cm-footer-top{flex-direction:column}
  .cm-footer-links{gap:36px;flex-wrap:wrap}
}
@media(max-width:540px){
  .cm-nav-inner,.cm-footer-inner{padding-left:16px;padding-right:16px}
  .cm-brand{font-size:18px;gap:7px}.cm-brand-mark{width:26px;height:26px;font-size:19px}
  .cm-cta{padding:9px 13px;font-size:13px;min-height:38px}
  .cm-cta span{display:none}
  .cm-footer-bottom{flex-direction:column}
}
