/* constellate.cc. Tokens and element usage come from Constellate OS (Aug 2026) and the Oct 2026 brochure.
   Figma: Constellate Site (pJgiCHK1kfcHwExFwpmNPR), Landing section. Breakpoints: 1440 base, 1920 at >=1680,
   tablet <=1199, mobile <=699. */
@font-face{font-family:'Telegraf';src:url(/fonts/PPTelegraf-Regular.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Telegraf';src:url(/fonts/PPTelegraf-UltraBold.woff2) format('woff2');font-weight:800;font-style:normal;font-display:swap}

:root{
  --ink:#0c0c0a; --panel:#14140f; --line:#26261d;
  --star:#ffde59; --star-dim:#b89f3e;
  --paper:#f4efdd; --dim:#8f8c7a; --faint:#5c5a4c; --warn:#ffb454;
  --sans:'Telegraf',-apple-system,'Helvetica Neue',Arial,sans-serif;
  --mono:ui-monospace,'SF Mono','Cascadia Code',Menlo,Consolas,monospace;
  --wm:600px; --sub:24px; --sub-lh:32px; --card:560px; --pad:28px;
  --col-gap:44px; --hero-gap:18px; --pad-x:40px; --top:72px;
}
@media (min-width:1680px){:root{--wm:720px;--sub:28px;--sub-lh:36px;--card:600px;--pad:32px;--col-gap:48px;--hero-gap:22px;--pad-x:80px}}
@media (max-width:1199px){:root{--wm:520px;--sub:22px;--sub-lh:30px;--col-gap:40px;--hero-gap:16px;--pad-x:48px}}
@media (max-width:699px){:root{--wm:min(300px,100%);--sub:18px;--sub-lh:26px;--pad:20px;--col-gap:32px;--hero-gap:12px;--pad-x:24px;--top:64px}}

*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{background:var(--ink);-webkit-text-size-adjust:100%}
body{
  min-height:100vh;min-height:100svh;display:flex;flex-direction:column;
  background:var(--ink);color:var(--paper);
  font-family:var(--sans);font-size:15px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--star);color:#000}
:focus-visible{outline:2px solid var(--star);outline-offset:2px}
button,input{font:inherit;color:inherit}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.sky{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}

/* ---------- layout ---------- */
/* the hero and form fill the first screen; the footer starts below it */
.page{
  position:relative;z-index:1;min-height:100vh;min-height:100svh;
  display:flex;align-items:center;justify-content:center;
  padding:var(--top) var(--pad-x) 48px;
}
.content{display:flex;flex-direction:column;align-items:center;gap:var(--col-gap);width:100%;max-width:max(var(--wm),var(--card))}
.hero{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--hero-gap);text-align:center}
.hero::before{
  content:'';position:absolute;z-index:-1;left:50%;top:30%;
  width:calc(var(--wm) * 2);height:calc(var(--wm) * 1.1);max-width:90vw;transform:translate(-50%,-50%);
  background:radial-gradient(closest-side,rgba(255,222,89,.13),rgba(255,222,89,0));pointer-events:none;
  animation:breathe 8s ease-in-out infinite alternate;
}
/* the glow behind the wordmark breathes slowly */
@keyframes breathe{from{opacity:.45;transform:translate(-50%,-50%) scale(.92)}to{opacity:1;transform:translate(-50%,-50%) scale(1.06)}}
@media (prefers-reduced-motion:reduce){.hero::before{animation:none}}
.wordmark{display:block;width:var(--wm);line-height:0;color:var(--star)}
.wordmark svg{display:block;width:100%;height:auto;filter:drop-shadow(0 0 28px rgba(255,222,89,.16))}
.sub{font-size:var(--sub);line-height:var(--sub-lh);font-weight:400;color:var(--paper);letter-spacing:-.005em;text-wrap:balance}
.sub strong{font-weight:800;color:var(--star)}
.br-phone{display:none}
@media (max-width:699px){.br-phone{display:inline}}

/* ---------- footer: one size (14/20) throughout, Telegraf only ---------- */
.foot{
  position:relative;z-index:1;padding:56px var(--pad-x) 36px;
  background:rgba(12,12,10,.92);border-top:1px solid var(--line);
  font-size:14px;line-height:20px;color:var(--dim);
}
.foot-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px 48px}
.foot h2{font-size:inherit;line-height:inherit;font-weight:400;color:var(--dim);margin-bottom:16px}
.foot ul{list-style:none;display:flex;align-items:center;gap:36px}
.foot-products a{display:block;color:var(--paper);border-radius:4px;transition:color .2s}
.foot-products a:hover{color:var(--star)}
/* logos are masks, so they take the link color and fade to yellow on hover */
.logo{display:block;background:currentColor;-webkit-mask:var(--logo) center/contain no-repeat;mask:var(--logo) center/contain no-repeat}
.logo-freshr{--logo:url(/assets/logos/freshr.svg);width:77px;height:18px}
.logo-biyelo{--logo:url(/assets/logos/biyelo.svg);width:67px;height:34px}
.logo-cbd{--logo:url(/assets/logos/citedbydefault.svg);width:102px;height:30px}
.foot-addr{display:flex;gap:56px}
.foot address{font-style:normal;width:250px;display:flex;flex-direction:column;gap:10px}
.foot address svg{width:40px;height:40px;fill:none;stroke:var(--star);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.foot address b{font-weight:800;color:var(--paper)}
.foot-rule{height:1px;background:var(--line);margin:40px 0}
@media (max-width:1199px){.foot-top{flex-direction:column}}
@media (max-width:699px){
  .foot{padding:48px var(--pad-x) 32px}
  .foot ul{gap:28px}
  .foot-addr{flex-direction:column;gap:28px}
  .foot address{width:auto}
}

/* ---------- card ---------- */
.card{
  width:100%;max-width:var(--card);padding:var(--pad);
  background:rgba(20,20,15,.82);border:1px solid var(--line);border-radius:10px;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
.form{display:flex;flex-direction:column;gap:22px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:699px){.fields{grid-template-columns:1fr;gap:16px}}

.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field label,.group legend{font-size:13px;line-height:16px;color:var(--dim)}
.field input{
  width:100%;height:48px;padding:0 14px;
  background:var(--ink);border:1px solid var(--line);border-radius:7px;
  font-size:15px;color:var(--paper);outline:none;
  transition:border-color .15s,box-shadow .15s;
}
.field input::placeholder{color:var(--faint);opacity:1}
.field input:hover{border-color:#3a3a2d}
.field input:focus{border-color:var(--star);box-shadow:0 0 0 3px rgba(255,222,89,.12)}
.field input[aria-invalid="true"]{border-color:var(--warn)}
.field input:-webkit-autofill{-webkit-text-fill-color:var(--paper);box-shadow:0 0 0 1000px var(--ink) inset;caret-color:var(--paper)}
.err{font-size:12.5px;line-height:17px;color:var(--warn)}

.group{border:0;min-width:0;display:flex;flex-direction:column;gap:10px}
.group legend{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:0;margin-bottom:10px}
.hint{font-family:var(--mono);font-size:11.5px;color:var(--dim)}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  position:relative;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 15px 0 13px;
  background:var(--ink);border:1px solid var(--line);border-radius:99px;
  font-size:14px;line-height:1;color:var(--paper);cursor:pointer;user-select:none;-webkit-user-select:none;
  transition:background-color .15s,border-color .15s,color .15s;
}
.chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.chip svg{flex:none;width:12px;height:12px}
.chip .i-plus{fill:var(--star);opacity:.75}
.chip .i-check{display:none;fill:none;stroke:var(--ink);stroke-width:2}
/* reserve the bold width so a chip doesn't grow when picked */
.chip .t{display:inline-grid}
.chip .t::after{content:attr(data-t);font-weight:800;height:0;overflow:hidden;visibility:hidden}
.chip:hover{border-color:var(--star-dim)}
.chip:has(input:focus-visible){outline:2px solid var(--star);outline-offset:2px}
.chip:has(input:checked){background:var(--star);border-color:var(--star);color:var(--ink);font-weight:800}
.chip:has(input:checked) .i-plus{display:none}
.chip:has(input:checked) .i-check{display:block}

.reveal{display:none}
.form:has([data-reveals="demos"]:checked) #demos,
.form:has([data-reveals="other"]:checked) #other{display:flex;animation:rise .28s ease both}
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

.join{
  width:100%;height:52px;border:0;border-radius:8px;cursor:pointer;
  background:var(--star);color:var(--ink);font-size:16px;font-weight:800;letter-spacing:.01em;
  transition:box-shadow .2s,transform .1s,opacity .15s;
}
.join:hover{box-shadow:0 0 24px rgba(255,222,89,.28)}
.join:active{transform:scale(.985)}
.join[aria-busy="true"]{opacity:.7;cursor:progress}
.form-error{font-size:13px;line-height:18px;color:var(--warn);text-align:center}

/* ---------- joined ---------- */
.joined{display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px 0;text-align:center;outline:none;animation:rise .35s ease both}
.joined-mark{width:52px;height:52px}
.joined-mark circle{fill:var(--star)}
.joined-mark path{fill:none;stroke:var(--ink);stroke-width:3.2}
.joined h2{font-size:26px;line-height:32px;font-weight:800;color:var(--paper)}
.joined .contact{font-family:var(--mono);font-size:12.5px;line-height:18px;color:var(--dim);overflow-wrap:anywhere}
.joined .contact:empty{display:none}
.back{font-size:14px;text-align:center}
.back a{color:var(--star);text-underline-offset:3px}
@media (max-width:699px){.joined h2{font-size:22px;line-height:28px}}
