:root {
  color-scheme: dark;
  --black: #02070d;
  --panel: rgba(6, 19, 29, .72);
  --line: rgba(114, 216, 255, .24);
  --text: #f2f7fa;
  --muted: #b7c4cf;
  --blue: #72d8ff;
  --blue-glow: #48d7ff;
  --green: #79d33a;
  --deep-green: #4aa61e;
  --chrome: #e9eef4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(72, 215, 255, .16), transparent 28rem),
    linear-gradient(180deg, #02070d 0%, #06131d 100%);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background-image: url("/assets/images/caxbit-utility-hero.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(1.08) contrast(1.08);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, .98) 0%, rgba(2, 7, 13, .78) 38%, rgba(2, 7, 13, .28) 72%, rgba(2, 7, 13, .52) 100%),
    linear-gradient(180deg, rgba(2, 7, 13, .18), #02070d 96%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .03em;
  text-decoration: none;
  font-weight: 950;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(72, 215, 255, .32);
}

.brand__c,
.brand__bit {
  color: var(--chrome);
}

.brand__a {
  color: var(--green);
}

.brand__x {
  color: var(--blue);
  text-shadow: 0 0 18px var(--blue-glow), 0 0 34px rgba(72, 215, 255, .6);
}

.brand__bit {
  margin-left: .08em;
}

.topbar__cta,
.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: .4rem;
  padding: .78rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.topbar__cta {
  border: 1px solid var(--line);
  color: var(--blue);
  background: rgba(2, 7, 13, .34);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: end;
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(100svh - 5.3rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 4rem;
}

.hero__copy {
  max-width: 47rem;
  padding-bottom: clamp(1rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--green);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .91;
  letter-spacing: 0;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #021014;
  box-shadow: 0 0 30px rgba(72, 215, 255, .22);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(6, 19, 29, .48);
  color: var(--text);
}

.signup {
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(6, 19, 29, .86), rgba(2, 7, 13, .9));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(233, 238, 244, .08);
  backdrop-filter: blur(18px);
}

.signup__header {
  margin-bottom: 1rem;
}

.signup__header p {
  margin-bottom: .25rem;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.signup__header strong {
  display: block;
  font-size: 1.2rem;
}

label {
  display: grid;
  gap: .4rem;
  margin-bottom: .78rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(183, 196, 207, .22);
  border-radius: .35rem;
  padding: .78rem .85rem;
  background: rgba(2, 7, 13, .72);
  color: var(--text);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(72, 215, 255, .14);
}

.hp {
  position: absolute;
  left: -9999px;
}

.signup__button {
  width: 100%;
}

.signup__note,
.signup__status {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}

.signup__status.is-ok {
  color: var(--green);
}

.signup__status.is-error {
  color: #ffb5b5;
}

.utility {
  display: grid;
  grid-template-columns: minmax(14rem, 24rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.utility h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: .98;
}

.utility__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(114, 216, 255, .16);
  background: rgba(114, 216, 255, .16);
}

.utility article {
  min-height: 15rem;
  padding: 1.25rem;
  background: rgba(2, 7, 13, .82);
}

.utility span {
  color: var(--blue);
  font-weight: 900;
}

.utility h3 {
  margin: 3rem 0 .75rem;
  font-size: 1.2rem;
}

.utility p {
  color: var(--muted);
  line-height: 1.58;
}

@media (max-width: 900px) {
  .hero__content,
  .utility {
    grid-template-columns: 1fr;
  }

  .hero__content {
    align-items: start;
    padding-top: 2rem;
  }

  h1 {
    max-width: 10ch;
  }

  .signup {
    max-width: 32rem;
  }

  .utility__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar__cta {
    padding-inline: .75rem;
    font-size: .88rem;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 13, .96), rgba(2, 7, 13, .74)),
      linear-gradient(180deg, rgba(2, 7, 13, .18), #02070d 96%);
  }

  .hero__actions {
    display: grid;
  }
}
