/* ------------------------------------------------------------------
   BisonTongue — the Get quote button (2026-10-28)
   One look shared by the hero CTA (.cta) and the header CTA
   (.head__cta), the header at a smaller size. Everything visual is a
   --b-* token, so a variation is a handful of values, not a fork.

   Default (no attribute) = 01 Soft: the "soft" style signed off in
   Tweaks ▸ Buttons, now baked here instead of living in panel state.
   Variations 02–10 apply via html[data-btn-v="NN"], driven by
   btnvar.js (?btn=NN) for review. Pick one → it becomes the base below.

   Specificity: html:root beats tweak.css's html[data-tw-btn] .cta and
   this file loads after it, so the dev panel can't override the pick.
   ------------------------------------------------------------------ */
:root{
  --b-r:     8px;
  --b-top:   color-mix(in srgb, var(--forest) 72%, var(--char) 28%);
  --b-bot:   var(--forest);
  --b-edge:  transparent;                                     /* 1px inset ring */
  --b-hi:    color-mix(in srgb, var(--ground) 20%, transparent); /* top-edge light */
  --b-c:     var(--ground);
  --b-drop:  0 2px 5px color-mix(in srgb, var(--forest) 24%, transparent),
             0 10px 22px -6px color-mix(in srgb, color-mix(in srgb, var(--forest) 42%, var(--char)) 62%, transparent),
             0 18px 48px -4px color-mix(in srgb, color-mix(in srgb, var(--forest) 42%, var(--char)) 30%, transparent);
  --b-drop-h:0 3px 8px color-mix(in srgb, var(--forest) 24%, transparent),
             0 14px 28px -6px color-mix(in srgb, color-mix(in srgb, var(--forest) 42%, var(--char)) 62%, transparent),
             0 26px 64px -4px color-mix(in srgb, color-mix(in srgb, var(--forest) 42%, var(--char)) 30%, transparent);
  --b-extra: 0 0 0 0 transparent;                             /* spare inset slot */
  --b-lift:  translateY(-1px);                                /* hover */
  --b-font:  var(--mono);
  --b-case:  uppercase;
  --b-track: var(--tr-m);
  --b-weight:500;
  --b-head-size: 11px;
}

html:root .cta,
html:root .head .head__cta{
  border:0;
  border-radius:var(--b-r);
  background-color:var(--b-bot);
  background-image:linear-gradient(180deg, var(--b-top), var(--b-bot));
  color:var(--b-c);
  font-family:var(--b-font);
  font-weight:var(--b-weight);
  text-transform:var(--b-case);
  letter-spacing:var(--b-track);
  box-shadow:inset 0 1px 0 var(--b-hi), inset 0 0 0 1px var(--b-edge), var(--b-extra), var(--b-drop);
  transition:box-shadow .2s ease, transform .2s ease, filter .2s ease, background-color .2s ease, color .2s ease;
}
html:root .cta:hover,
html:root .head .head__cta:hover{
  background-color:var(--b-bot);
  background-image:linear-gradient(180deg, var(--b-top), var(--b-bot));
  color:var(--b-c);
  transform:var(--b-lift);
  box-shadow:inset 0 1px 0 var(--b-hi), inset 0 0 0 1px var(--b-edge), var(--b-extra), var(--b-drop-h);
}
html:root .cta:active,
html:root .head .head__cta:active{ transform:translateY(1px); }

/* header size — same button, smaller */
html:root .head .head__cta{
  height:var(--b-head-h, 40px); line-height:var(--b-head-h, 40px); padding:0 var(--b-head-px, 20px);
  font-size:var(--b-head-size); letter-spacing:var(--b-head-track, var(--b-track));
  border-radius:calc(var(--b-r) * .8);
}

/* ---------------- the ten ----------------
   02–06 are PieperPalate's PrimaryButton redrawn in green: a vertical
   gradient, a 1px edge one step darker, a drop that tucks UNDER the
   button (negative spread) rather than haloing, a 34% white top edge,
   radius 14, press = 1px down, hover = a touch of light, no lift. */
html:root[data-btn-v="02"],
html:root[data-btn-v="03"],
html:root[data-btn-v="06"]{
  --b-r:14px;
  --b-top:#2F7A45; --b-bot:#1A4A2A; --b-edge:#143D22;
  --b-hi:rgba(255,255,255,.34);
  --b-drop:0 13px 26px -13px rgba(20,61,34,.9);
  --b-drop-h:0 15px 28px -13px rgba(20,61,34,.95);
  --b-lift:none;
}
/* 03 — the PieperPalate label too: sentence case, sans, no tracking */
html:root[data-btn-v="03"]{
  --b-font:var(--grot); --b-case:none; --b-track:.01em; --b-weight:600; --b-head-size:13px;
}
html:root[data-btn-v="03"] .cta{ font-size:15px; }
/* 06 — pill */
html:root[data-btn-v="06"]{ --b-r:999px; }

/* 04 — Pieper, pine: the same recipe a step darker and quieter */
html:root[data-btn-v="04"]{
  --b-r:14px;
  --b-top:#24573A; --b-bot:#10301C; --b-edge:#0B2414;
  --b-hi:rgba(255,255,255,.26);
  --b-drop:0 13px 26px -13px rgba(11,36,20,.9);
  --b-drop-h:0 15px 28px -13px rgba(11,36,20,.95);
  --b-lift:none;
}
/* 05 — Pieper, fern: brighter, the most "button" of the set */
html:root[data-btn-v="05"]{
  --b-r:14px;
  --b-top:#3F8F55; --b-bot:#23623A; --b-edge:#1C5230;
  --b-hi:rgba(255,255,255,.38);
  --b-drop:0 13px 26px -13px rgba(28,82,48,.85);
  --b-drop-h:0 15px 28px -13px rgba(28,82,48,.95);
  --b-lift:none;
}
/* 07 — flat forest: the house's square-and-flat, only a lit top edge */
html:root[data-btn-v="07"]{
  --b-r:6px;
  --b-top:var(--forest); --b-bot:var(--forest);
  --b-hi:color-mix(in srgb, var(--ground) 14%, transparent);
  --b-drop:0 0 0 0 transparent;
  --b-drop-h:0 0 0 0 transparent;
  --b-lift:none;
}
html:root[data-btn-v="07"] .cta:hover,
html:root[data-btn-v="07"] .head .head__cta:hover{ background-image:none; background-color:var(--forest-mid); }
/* 08 — glow: soft's halo opened right up */
html:root[data-btn-v="08"]{
  --b-r:10px;
  --b-top:color-mix(in srgb, var(--forest) 55%, var(--char) 45%);
  --b-drop:0 2px 6px color-mix(in srgb, var(--forest) 30%, transparent),
           0 12px 30px -6px color-mix(in srgb, #4E9A5E 55%, transparent),
           0 24px 70px -6px color-mix(in srgb, #4E9A5E 35%, transparent);
  --b-drop-h:0 3px 8px color-mix(in srgb, var(--forest) 30%, transparent),
             0 16px 38px -6px color-mix(in srgb, #4E9A5E 65%, transparent),
             0 32px 90px -6px color-mix(in srgb, #4E9A5E 42%, transparent);
}
/* 09 — signal: forest with a lime underline, the dark-section accent */
html:root[data-btn-v="09"]{
  --b-r:8px;
  --b-top:#1F3A27; --b-bot:#13241A;
  --b-extra:inset 0 -2px 0 #C8F05A;
  --b-hi:rgba(255,255,255,.16);
  --b-drop:0 10px 22px -12px rgba(19,36,26,.9);
  --b-drop-h:0 12px 26px -12px rgba(19,36,26,.95);
}
/* 10 — outline: ground fill, green edge, fills green on hover */
html:root[data-btn-v="10"]{
  --b-r:12px;
  --b-top:var(--ground); --b-bot:var(--ground);
  --b-edge:var(--forest); --b-c:var(--forest);
  --b-hi:rgba(255,255,255,.9);
  --b-drop:0 8px 18px -12px color-mix(in srgb, var(--forest) 60%, transparent);
  --b-drop-h:0 12px 24px -12px color-mix(in srgb, var(--forest) 70%, transparent);
}
html:root[data-btn-v="10"] .cta:hover,
html:root[data-btn-v="10"] .head .head__cta:hover{
  background-image:linear-gradient(180deg, #2F7A45, #1A4A2A); color:#fff;
}

@media (prefers-reduced-motion: reduce){
  html:root .cta, html:root .head .head__cta{ transition:none; }
  html:root .cta:hover, html:root .head .head__cta:hover{ transform:none; }
}

/* ==================================================================
   11–20 — ideas from 21st.dev, rebuilt in plain CSS for this site
   (2026-10-28). Each needs extra layers, which btnfx.js adds to every
   Get quote button: .bfx-bg, .bfx-l (label), .bfx-l2 (second label),
   .bfx-c ×4 (corners), .bfx-dash (svg). All hidden unless a variation
   below uses them, so 01–10 are untouched.
   Source credited per variation.
   ================================================================== */
@property --bfx-a { syntax:'<angle>';      initial-value:0deg; inherits:true; }
@property --bfx-p { syntax:'<percentage>'; initial-value:5%;   inherits:true; }

.bfx-l{ position:relative; z-index:2; display:inline-block; transition:transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease; }
.bfx-bg, .bfx-l2, .bfx-c, .bfx-dash, .bfx-ar2{ display:none; }

/* shared frame for anything with layers */
html:root[data-btn-v="11"] :is(.cta, .head .head__cta),
html:root[data-btn-v="12"] :is(.cta, .head .head__cta),
html:root[data-btn-v="14"] :is(.cta, .head .head__cta),
html:root[data-btn-v="16"] :is(.cta, .head .head__cta),
html:root[data-btn-v="17"] :is(.cta, .head .head__cta),
html:root[data-btn-v="20"] :is(.cta, .head .head__cta){ position:relative; isolation:isolate; overflow:hidden; }

/* 11 — Shimmer (magicui): a lime spark circling the edge */
html:root[data-btn-v="11"] :is(.cta, .head .head__cta),
html:root[data-btn-v="11"] :is(.cta, .head .head__cta):hover{
  border-radius:999px; background:var(--forest); background-image:none; color:var(--ground);
  box-shadow:0 12px 26px -14px rgba(22,40,27,.8); transform:none;
}
html:root[data-btn-v="11"] .bfx-bg{ display:block; position:absolute; inset:0; z-index:0; border-radius:inherit; overflow:hidden; }
html:root[data-btn-v="11"] .bfx-bg::before{
  content:""; position:absolute; left:50%; top:50%; width:300%; aspect-ratio:1; translate:-50% -50%;
  background:conic-gradient(from 0deg, transparent 0 72%, #C8F05A 86%, transparent 100%);
  filter:blur(2px); animation:bfx-spin 3s linear infinite;
}
html:root[data-btn-v="11"] .bfx-bg::after{
  content:""; position:absolute; inset:1.5px; border-radius:inherit;
  background:linear-gradient(180deg, #23402C, var(--forest));
  box-shadow:inset 0 -8px 10px rgba(255,255,255,.08); transition:box-shadow .3s ease;
}
html:root[data-btn-v="11"] :is(.cta, .head .head__cta):hover .bfx-bg::after{ box-shadow:inset 0 -6px 12px rgba(255,255,255,.2); }
@keyframes bfx-spin{ to{ rotate:360deg; } }

/* 12 — Shiny (hyperiux): a beam rotating round the border, dot speckle */
html:root[data-btn-v="12"] :is(.cta, .head .head__cta),
html:root[data-btn-v="12"] :is(.cta, .head .head__cta):hover{
  border:1.5px solid transparent; border-radius:999px; color:var(--ground); transform:none;
  background:linear-gradient(var(--forest), var(--forest)) padding-box,
             conic-gradient(from var(--bfx-a), transparent, #8FD16A var(--bfx-p), #F4FFE0 calc(var(--bfx-p) * 2), #8FD16A calc(var(--bfx-p) * 3), transparent calc(var(--bfx-p) * 4)) border-box;
  box-shadow:0 12px 26px -14px rgba(22,40,27,.8);
  animation:bfx-ang 3s linear infinite; transition:--bfx-p .8s cubic-bezier(.25,1,.5,1);
}
html:root[data-btn-v="12"] :is(.cta, .head .head__cta):hover{ --bfx-p:20%; }
html:root[data-btn-v="12"] .bfx-bg{
  display:block; position:absolute; inset:3px; z-index:0; border-radius:inherit; opacity:.45;
  background:radial-gradient(circle at 2px 2px, rgba(255,255,255,.55) .6px, transparent 0) 0 0 / 4px 4px;
  -webkit-mask-image:conic-gradient(from calc(var(--bfx-a) + 45deg), #000, transparent 10% 90%, #000);
          mask-image:conic-gradient(from calc(var(--bfx-a) + 45deg), #000, transparent 10% 90%, #000);
}
@keyframes bfx-ang{ to{ --bfx-a:360deg; } }

/* 13 — Frame (radiumcoders): square, corner brackets that spread on hover */
html:root[data-btn-v="13"] :is(.cta, .head .head__cta){
  position:relative; overflow:visible; border-radius:0; background:var(--forest); background-image:none;
  box-shadow:none; color:var(--ground); transition:background-color .3s ease;
}
html:root[data-btn-v="13"] :is(.cta, .head .head__cta):hover{ background:var(--forest-mid); background-image:none; box-shadow:none; transform:none; }
html:root[data-btn-v="13"] :is(.cta, .head .head__cta):active{ transform:scale(.985); }
html:root[data-btn-v="13"] .bfx-c{
  display:block; position:absolute; width:12px; height:12px; pointer-events:none;
  border:0 solid var(--forest); transition:transform .3s ease-out;
}
html:root[data-btn-v="13"] .head .bfx-c{ width:9px; height:9px; }
html:root[data-btn-v="13"] .bfx-c--tl{ top:-6px;    left:-6px;  border-top-width:1.5px;    border-left-width:1.5px; }
html:root[data-btn-v="13"] .bfx-c--tr{ top:-6px;    right:-6px; border-top-width:1.5px;    border-right-width:1.5px; }
html:root[data-btn-v="13"] .bfx-c--bl{ bottom:-6px; left:-6px;  border-bottom-width:1.5px; border-left-width:1.5px; }
html:root[data-btn-v="13"] .bfx-c--br{ bottom:-6px; right:-6px; border-bottom-width:1.5px; border-right-width:1.5px; }
html:root[data-btn-v="13"] :hover > .bfx-c--tl{ transform:translate(-5px,-5px); }
html:root[data-btn-v="13"] :hover > .bfx-c--tr{ transform:translate(5px,-5px); }
html:root[data-btn-v="13"] :hover > .bfx-c--bl{ transform:translate(-5px,5px); }
html:root[data-btn-v="13"] :hover > .bfx-c--br{ transform:translate(5px,5px); }

/* 14 — Interactive hover (magicui): a dot floods the button, label swaps */
html:root[data-btn-v="14"] :is(.cta, .head .head__cta),
html:root[data-btn-v="14"] :is(.cta, .head .head__cta):hover{
  border-radius:999px; background:var(--ground); background-image:none; color:var(--forest); transform:none;
  box-shadow:inset 0 0 0 1px var(--rule), 0 10px 22px -16px rgba(22,40,27,.7);
}
html:root[data-btn-v="14"] .bfx-bg{
  display:block; position:absolute; left:16%; top:50%; width:8px; height:8px; margin-top:-4px; z-index:0;
  border-radius:999px; background:var(--forest); transition:all .35s cubic-bezier(.4,0,.2,1);
}
html:root[data-btn-v="14"] :hover > .bfx-bg{ left:0; top:0; margin:0; width:100%; height:100%; border-radius:inherit; }
html:root[data-btn-v="14"] .bfx-l{ transform:translateX(6px); }
html:root[data-btn-v="14"] :hover > .bfx-l{ transform:translateX(48px); opacity:0; }
html:root[data-btn-v="14"] .bfx-l2{
  display:flex; position:absolute; inset:0; z-index:2; align-items:center; justify-content:center; gap:10px;
  color:var(--ground); opacity:0; transform:translateX(48px); transition:all .35s cubic-bezier(.4,0,.2,1);
}
html:root[data-btn-v="14"] :hover > .bfx-l2{ opacity:1; transform:none; }
html:root[data-btn-v="14"] .bfx-ar2{ display:inline; }

/* 15 — Magic (lucasbassetti): a 3D key that lifts and presses */
html:root[data-btn-v="15"] :is(.cta, .head .head__cta){
  border-radius:12px; color:#fff; background:#2A6F40; background-image:linear-gradient(180deg, #34864D, #256339);
  transform:translateY(-3px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 5px 0 #133A20, 0 9px 14px -4px rgba(19,58,32,.55);
  transition:transform .6s cubic-bezier(.3,.7,.4,1), box-shadow .6s cubic-bezier(.3,.7,.4,1), filter .25s;
}
html:root[data-btn-v="15"] :is(.cta, .head .head__cta):hover{
  background-image:linear-gradient(180deg, #34864D, #256339); color:#fff; filter:brightness(1.08);
  transform:translateY(-5px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 7px 0 #133A20, 0 13px 20px -4px rgba(19,58,32,.55);
  transition:transform .25s cubic-bezier(.3,.7,.4,1.5), box-shadow .25s cubic-bezier(.3,.7,.4,1.5), filter .25s;
}
html:root[data-btn-v="15"] :is(.cta, .head .head__cta):active{
  transform:translateY(1px); transition:transform 34ms, box-shadow 34ms;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 0 #133A20, 0 2px 4px -2px rgba(19,58,32,.5);
}

/* 16 — Expanding arrow (starc007): a lime tile sweeps into a trail */
html:root[data-btn-v="16"] .cta{ --th:46px; }
html:root[data-btn-v="16"] .head .head__cta{ --th:28px; padding-left:44px; }
html:root[data-btn-v="16"] :is(.cta, .head .head__cta),
html:root[data-btn-v="16"] :is(.cta, .head .head__cta):hover{
  border-radius:16px; background:var(--forest); background-image:none; color:var(--ground); transform:none;
  box-shadow:0 12px 26px -16px rgba(22,40,27,.8);
}
html:root[data-btn-v="16"] .head .head__cta{ border-radius:10px; }
html:root[data-btn-v="16"] .bfx-bg{
  /* full width always, revealed by clip-path — animating width thrashed
     layout, and the source's spring overshoot read as a bounce */
  display:flex; align-items:center; justify-content:flex-start; position:absolute; z-index:3;
  top:6px; bottom:6px; left:6px; right:6px; padding-left:calc(var(--th) / 2 - .3em);
  border-radius:11px; background:#C8F05A;
  clip-path:inset(0 calc(100% - var(--th)) 0 0 round 11px);
  transition:clip-path .5s cubic-bezier(.16,1,.3,1);
}
html:root[data-btn-v="16"] .head .bfx-bg{ border-radius:7px; }
html:root[data-btn-v="16"] .bfx-bg::after{
  content:"›"; font:700 22px/1 var(--mono); color:var(--forest); letter-spacing:0;
}
html:root[data-btn-v="16"] .head .bfx-bg::after{ font-size:16px; }
html:root[data-btn-v="16"] :hover > .bfx-bg{ clip-path:inset(0 0 0 0 round 11px); justify-content:center; padding-left:0; }
html:root[data-btn-v="16"] :hover > .bfx-bg::after{ content:"› › › › ›"; letter-spacing:.35em; }
html:root[data-btn-v="16"] .cta .bfx-l{ transform:translateX(calc(var(--th) / 2 + 4px)); }
html:root[data-btn-v="16"] :hover > .bfx-l{ opacity:0; }

/* 17 — Fill (mirukullacode): green sweeps up from the bottom */
html:root[data-btn-v="17"] :is(.cta, .head .head__cta),
html:root[data-btn-v="17"] :is(.cta, .head .head__cta):hover{
  border-radius:999px; background:var(--ground); background-image:none; color:var(--forest); transform:none;
  box-shadow:inset 0 0 0 1.5px var(--forest);
}
html:root[data-btn-v="17"] .bfx-l2{
  display:flex; position:absolute; inset:0; z-index:3; align-items:center; justify-content:center;
  background:var(--forest); color:var(--ground);
  clip-path:inset(100% 0 0 0); transition:clip-path .45s cubic-bezier(.22,1,.36,1);
}
html:root[data-btn-v="17"] :hover > .bfx-l2{ clip-path:inset(0 0 0 0); }

/* 18 — Dash (kevingirelli): solid, then a marching dashed outline */
html:root[data-btn-v="18"] :is(.cta, .head .head__cta){
  position:relative; border-radius:999px; background:var(--forest); background-image:none; color:var(--ground);
  box-shadow:none; transition:background-color .2s ease, color .2s ease;
}
html:root[data-btn-v="18"] :is(.cta, .head .head__cta):hover{
  background:transparent; background-image:none; color:var(--forest); box-shadow:none; transform:none;
}
html:root[data-btn-v="18"] .bfx-dash{
  display:block; position:absolute; inset:0; width:100%; height:100%; overflow:visible;
  color:var(--forest); opacity:0; transition:opacity .2s ease; pointer-events:none;
}
html:root[data-btn-v="18"] :hover > .bfx-dash{ opacity:1; }
.bfx-dash rect{ stroke-dasharray:5 3; animation:bfx-march .8s linear infinite paused; }
html:root[data-btn-v="18"] :hover > .bfx-dash rect{ animation-play-state:running; }
@keyframes bfx-march{ to{ stroke-dashoffset:-8; } }

/* 19 — Letter swap (cnippet), in the hero's own ASCII ramp. The scramble
   itself is btnfx.js; the shell is the house's flat square. */
html:root[data-btn-v="19"] :is(.cta, .head .head__cta){
  border-radius:4px; background:var(--forest); background-image:none; color:var(--ground);
  box-shadow:0 10px 22px -14px rgba(22,40,27,.8);
}
html:root[data-btn-v="19"] :is(.cta, .head .head__cta):hover{
  background:#1F3626; background-image:none; color:#C8F05A; transform:none;
  box-shadow:0 10px 22px -14px rgba(22,40,27,.8);
}

/* 20 — Klyv shimmer: a sheen sweeps, a lime light follows the pointer */
html:root[data-btn-v="20"] :is(.cta, .head .head__cta),
html:root[data-btn-v="20"] :is(.cta, .head .head__cta):hover{
  border-radius:999px; background:var(--forest); background-image:none; color:var(--ground); transform:none;
  box-shadow:0 12px 26px -14px rgba(22,40,27,.8);
}
html:root[data-btn-v="20"] .bfx-bg{ display:block; position:absolute; inset:0; z-index:0; pointer-events:none; }
html:root[data-btn-v="20"] .bfx-bg::before{
  content:""; position:absolute; top:0; bottom:0; width:33%; left:-40%;
  background:rgba(255,255,255,.22); filter:blur(6px); animation:bfx-sheen 3s ease-in-out infinite;
}
html:root[data-btn-v="20"] .bfx-bg::after{
  content:""; position:absolute; width:150px; height:150px; border-radius:50%;
  left:var(--gx, 50%); top:var(--gy, 50%); translate:-50% -50%;
  background:radial-gradient(circle, rgba(200,240,90,.5), transparent 70%); filter:blur(18px);
  opacity:var(--go, 0); transition:opacity .4s ease;
}
@keyframes bfx-sheen{ 0%{ left:-40%; } 60%, 100%{ left:110%; } }

@media (prefers-reduced-motion: reduce){
  .bfx-bg::before, .bfx-bg::after, .bfx-dash rect, html:root[data-btn-v="12"] :is(.cta, .head .head__cta){ animation:none !important; }
  .bfx-l, .bfx-l2, .bfx-bg, .bfx-c{ transition:none !important; }
}

/* ==================================================================
   THE DEFAULT (picked 2026-10-28): 12's dot grid drifting inside a
   forest pill — the border beam removed — plus 19's scramble on hover,
   softened (btnfx.js). Applies when no variation is set; ?btn=01 still
   shows the old Soft button, and 02–20 stay reviewable.
   ================================================================== */
html:root:not([data-btn-v]) :is(.cta, .head .head__cta){
  position:relative; isolation:isolate; overflow:hidden;
  border:0;
  /* LOCKED 2026-10-28 from the Button panel: pill off, 12px, 18% smoothing
     (superellipse 1.25 — a light squircle), Forest */
  border-radius:12px;
  corner-shape:superellipse(1.25);
  --bg:var(--b-def-bg, var(--forest));
  /* depth, after PieperPalate: a vertical gradient a step lighter at the top */
  background:var(--bg);
  background-image:linear-gradient(180deg, color-mix(in srgb, var(--bg) 84%, #fff), var(--bg) 72%);
  color:var(--ground);
  /* the lip, after PieperPalate's PrimaryButton: a lit top edge, a 1px
     edge one step darker, a faint shade along the bottom, and a drop that
     tucks under the button (negative spread) rather than haloing */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),
             inset 0 0 0 1px color-mix(in srgb, var(--bg) 72%, #000),
             inset 0 -2px 0 rgba(0,0,0,.16),
             0 13px 26px -13px color-mix(in srgb, var(--bg) 92%, transparent);
  animation:bfx-ang 6s linear infinite;
}
html:root:not([data-btn-v]) :is(.cta, .head .head__cta):hover{
  /* hover (2026-10-28): rise 2px and turn a brighter GREEN — mixed toward a
     leaf green, not white (white read greyer). Lip, dots, scramble unchanged. */
  background:var(--bg);
  background-image:linear-gradient(180deg, color-mix(in srgb, var(--bg) 66%, #5FA06A), color-mix(in srgb, var(--bg) 82%, #5FA06A) 72%);
  color:var(--ground); transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),
             inset 0 0 0 1px color-mix(in srgb, var(--bg) 72%, #000),
             inset 0 -2px 0 rgba(0,0,0,.16),
             0 17px 30px -13px color-mix(in srgb, var(--bg) 95%, transparent);
}
html:root:not([data-btn-v]) :is(.cta, .head .head__cta):active{ transform:translateY(1px); }
html:root:not([data-btn-v]) .bfx-bg{
  display:block; position:absolute; inset:3px; z-index:0; border-radius:inherit; corner-shape:inherit; opacity:.5;
  background:radial-gradient(circle at 2px 2px, rgba(255,255,255,.6) .6px, transparent 0) 0 0 / 4px 4px;
  -webkit-mask-image:conic-gradient(from calc(var(--bfx-a) + 45deg), #000, transparent 14% 86%, #000);
          mask-image:conic-gradient(from calc(var(--bfx-a) + 45deg), #000, transparent 14% 86%, #000);
}
@media (prefers-reduced-motion: reduce){
  html:root:not([data-btn-v]) :is(.cta, .head .head__cta){ animation:none; }
  html:root:not([data-btn-v]) :is(.cta, .head .head__cta):hover{ transform:none; }
}

/* Button tweaks (btntweak.js): pill by default; "Pill: off" hands the
   shape to the radius slider, and corner smoothing is a true squircle via
   corner-shape: superellipse() — Figma's iOS smoothing is ≈60%. */
/* (pill toggle retired with the panel — the locked radius is above) */

/* Greens for the default button (Button panel ▸ Green). Forest is the
   default and sets no attribute. Hover, lip and drop all follow --b-def-bg. */
html[data-btn-green="pine"]    { --b-def-bg:#1C3A26; }
html[data-btn-green="spruce"]  { --b-def-bg:#123A33; }
html[data-btn-green="moss"]    { --b-def-bg:#34482A; }
html[data-btn-green="juniper"] { --b-def-bg:#1E4D3E; }
html[data-btn-green="fern"]    { --b-def-bg:#2C6A3E; }
html[data-btn-green="olive"]   { --b-def-bg:#3E4A1E; }
html[data-btn-green="kelp"]    { --b-def-bg:#0F2A20; }
html[data-btn-green="sage"]    { --b-def-bg:#4E6A4C; }

/* ---------------- secondary (2026-10-28) ----------------
   .cta-2 — the primary's sibling, not a pill: same squircle, height, type,
   lip and 2px lift, on a light surface with forest ink. Use beside a .cta;
   it never competes because it carries no fill or drop colour. */
html:root .cta-2{
  position:relative; display:inline-block; text-align:center; text-decoration:none; cursor:pointer;
  border:0; border-radius:12px; corner-shape:superellipse(1.25);
  --bg2:var(--ground);
  background:var(--bg2);
  background-image:linear-gradient(180deg, #fff, color-mix(in srgb, var(--bg2) 92%, var(--forest)) 140%);
  color:var(--forest);
  font-family:var(--b-font); font-weight:var(--b-weight); text-transform:var(--b-case); letter-spacing:var(--b-track);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--forest) 16%, var(--ground)),
             inset 0 2px 0 #fff,   /* lip sits under the ring, so the outline is unbroken */
             inset 0 -2px 0 color-mix(in srgb, var(--forest) 7%, transparent),
             0 10px 20px -12px color-mix(in srgb, var(--forest) 34%, transparent);
  transition:box-shadow .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}
html:root .cta-2:hover{
  transform:translateY(-2px);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--forest) 34%, var(--ground)),
             inset 0 2px 0 #fff,
             inset 0 -2px 0 color-mix(in srgb, var(--forest) 7%, transparent),
             0 14px 24px -12px color-mix(in srgb, var(--forest) 40%, transparent);
}
html:root .cta-2:active{ transform:translateY(1px); }
html:root .cta-2:focus-visible{ outline:2px solid var(--forest); outline-offset:3px; }
html:root .cta-2.no-ring:focus-visible{ outline:none; }
@media (prefers-reduced-motion: reduce){
  html:root .cta-2, html:root .cta-2:hover{ transition:none; transform:none; }
}
