/* CustomSpace site footer, shared by every page (markup: cs_big_footer() in inc/parts.php).
   One charcoal shape with a big curved edge (left on desktop, a top arch on narrower screens),
   the wordmark and description, a divider, four columns, then the byline at the bottom right.
   Self-contained: its own colors, button and resets, so it looks the same whatever the page's own styles are. */
.ft{--ft-ink:#42413C;--ft-cream:#F8F6F1;--ft-sage:#B2C292;--ft-muted:#CFCCC1;--ft-label:#B5B1A5;--ft-gutter:clamp(12px,1.2vw,18px);
  padding:var(--ft-gutter);background:transparent;font-family:"Catamaran","Avenir Next","Segoe UI",system-ui,sans-serif;font-size:18px;line-height:1.6}
.ft *,.ft *::before,.ft *::after{box-sizing:border-box}
.ft p,.ft h2,.ft ul{margin:0}
.ft img{max-width:100%}
.ft-shape{--rx:clamp(150px,21vw,320px);--rule:rgba(248,246,241,.14);--cols:repeat(3,minmax(0,1fr)) minmax(0,1.3fr);--gap:clamp(24px,3vw,48px);
  max-width:1600px;margin:0 auto;background:var(--ft-ink);color:var(--ft-muted);
  border-radius:var(--rx) 28px 28px var(--rx) / 50% 28px 28px 50%;
  padding:clamp(60px,6.4vw,96px) clamp(28px,4vw,64px) clamp(28px,3vw,40px) calc(var(--rx) * .62 + 24px)}
/* Top row: wordmark, then the description in two lines, centered on the wordmark */
.ft-top{display:flex;align-items:center;gap:clamp(32px,4.5vw,64px)}
.ft-logo{flex:0 1 540px;display:block;min-width:0}
.ft-mark{display:block;width:100%;height:auto}
.ft-desc{flex:1 1 0;max-width:26em;font-size:clamp(17px,1.35vw,19px);line-height:1.5;color:var(--ft-cream);text-wrap:balance}
.ft-grid{display:grid;grid-template-columns:var(--cols);gap:var(--gap);margin-top:clamp(40px,4.5vw,64px);padding-top:clamp(36px,4vw,52px);border-top:1px solid var(--rule)}
.ft-grid>*{min-width:0}
.ft h2{font-family:inherit;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--ft-label);margin-bottom:18px;line-height:1.4}
.ft ul{list-style:none;padding:0;display:grid;gap:12px}
.ft li{margin:0;padding:0}
.ft-col a{color:var(--ft-cream);text-decoration:none;font-size:16px;line-height:1.35;opacity:.86}
.ft-col a:hover{opacity:1;text-decoration:underline;text-decoration-color:var(--ft-sage);text-underline-offset:4px}
.ft-soon{margin-left:8px;padding:2px 7px;border:1px solid rgba(178,194,146,.5);border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ft-sage);vertical-align:2px}
/* The Book a Demo button is as wide as the text above it */
.ft-cta-box{display:grid;gap:20px;width:fit-content;max-width:34ch}
.ft-cta-box p{font-size:16px;line-height:1.55}
.ft-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:14px 26px;border-radius:999px;background:var(--ft-sage);color:var(--ft-ink);
  font-family:inherit;font-size:16px;font-weight:700;line-height:1.2;text-decoration:none;transition:transform .15s ease,background .15s ease}
.ft-btn:hover{background:#C0CDA6;transform:translateY(-1px)}
.ft-btn:focus-visible,.ft a:focus-visible{outline:3px solid var(--ft-sage);outline-offset:3px}
.ft-col .ft-more{display:inline-block;margin-top:18px;font-size:15px;color:var(--ft-cream);text-decoration:none;border-bottom:1px solid var(--ft-sage);padding-bottom:2px;opacity:.86}
.ft-col .ft-more:hover{opacity:1}
.ft .ft-bar{margin-top:clamp(44px,5vw,72px);text-align:right;font-size:14px;color:var(--ft-label)}
@media (max-width:1100px){
  /* Narrower screens: the curve moves to the top as an arch (a half circle on phones, flatter on tablets) */
  .ft-shape{--w:calc(100vw - 2 * var(--ft-gutter));--ry:min(calc(var(--w) / 2),240px);--cols:repeat(3,minmax(0,1fr));
    border-radius:50% 50% 24px 24px / var(--ry) var(--ry) 24px 24px;
    padding:calc(var(--ry) * .8 + 20px) clamp(24px,5vw,56px) clamp(24px,4vw,36px)}
  .ft-top{flex-direction:column;align-items:flex-start;gap:20px}
  .ft-logo{flex:none;width:100%;max-width:468px}
  .ft-desc{flex:none;max-width:40ch}
  .ft-cta{grid-column:1/-1}
}
@media (max-width:560px){
  .ft-shape{--cols:minmax(0,1fr) minmax(0,1fr)}
  .ft-grid{column-gap:20px;row-gap:36px}
  /* Phones: Platform and Resources side by side, Green Grass Studios on its own row so the lists line up */
  .ft-grid>:nth-child(1){order:1} .ft-grid>:nth-child(3){order:2} .ft-grid>:nth-child(2){order:3;grid-column:1/-1} .ft-cta{order:4}
  .ft h2{letter-spacing:.12em}
  .ft-logo{max-width:none}
}
@media (prefers-reduced-motion:reduce){.ft-btn{transition:none}.ft-btn:hover{transform:none}}
