/* Controls shared by the landing page and the chat. */
:root {
  --control-edge: rgba(200, 203, 209, .2);
  --control-surface: linear-gradient(165deg, #3f4145, #36383c);
  --control-glint: inset 0 1px 0 rgba(242, 243, 247, .08);
  --control-accent: linear-gradient(155deg, #cfd1d5, #b7b9bd);
}
:is(.nav__cta, .hero__cta, #pricing .plan) a.btn,
.hero--k .hero__cta a.btn,
#pricing .plan--featured a.btn.btn--primary,
.os .os__go, #create, #import, #connect, .send, #model {
  border: 1px solid var(--control-edge);
  border-radius: 12px;
  background: var(--control-surface);
  color: #e4e6ea;
  box-shadow: var(--control-glint);
  font-weight: 550;
  line-height: 1.25;
  transition: filter .15s ease, box-shadow .15s ease;
}
.hero--k .hero__cta a.btn[href="/web/"], #pricing .plan--featured a.btn.btn--primary,
button.send {
  background: var(--control-accent);
  color: #292b2f;
  border-color: #c9cbcf;
  box-shadow: inset 0 1px 0 #ffffff48, 0 2px 5px #17191d26;
}
.hero--k .hero__cta a.btn[href="/web/"] { font-size: 14px; }
.hero--k .hero__cta a.btn { min-height: 46px; padding: 10px 17px; gap: 10px; }
.hero--k .hero__cta a[href="#download"] { background: transparent; box-shadow: none; }
:is(#create, #import, #connect, .send) { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding: 8px 13px; }
#create, #import { justify-content: flex-start; }
#import, #connect, #model { background: transparent; box-shadow: none; }
#model { padding: 8px; font-weight: 500; }
#model option { background: #36383c; }
#import { border-color: transparent; }
:is(#create, #import, #connect, .send, .hero__cta a):not(:disabled):hover { filter: brightness(1.085); }
:is(#create, #import, #connect, .send, .hero__cta a):not(:disabled):active { box-shadow: inset 0 1px 4px #12141833; }
:is(#create, #import, #connect, .send, #model, .btn, .os__go):focus-visible { outline: 2px solid #bcbec2; outline-offset: 3px; }
button.send:disabled { opacity: .58; cursor: default; }
#create::before, .send::after, .hero__cta a[href="/web/"]::after {
  content: ""; display: inline-block; width: 14px; height: 14px; background-color: currentColor;
}
#create::before { background: linear-gradient(currentColor,currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor,currentColor) center / 1.5px 12px no-repeat; }
.send::after, .hero__cta a[href="/web/"]::after { clip-path: polygon(44% 93%,44% 28%,15% 57%,6% 48%,50% 4%,94% 48%,85% 57%,56% 28%,56% 93%); }
.hero__cta a[href="/web/"]::after { transform: rotate(45deg); }
@media(prefers-reduced-motion: reduce) { button, .btn { transition: none !important; } }

section footer :is(.send, #model) {
  box-sizing: border-box;
  min-height: 0;
  height: 30px;
  padding: 0 9px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.25;
}
section footer .send { gap: 6px; }
section footer .send::after { width: 11px; height: 11px; }
@media (pointer: coarse) {
  section footer :is(.send, #model) { height: 44px; }
}

section footer button.send{background:linear-gradient(145deg,#d3cfe9,#b8b6d9);color:#25253a;border-color:#cdcbe7}
aside #create { background: linear-gradient(145deg, #48446d, #383557); border-color: #69638a; color: #f0ecff; }
