@font-face {
  font-family: "Bogle";
  src: url("/assets/fonts/BBHBogle-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #e7752a;
  --secondary-color: #4b2973;
  --tertiary-color: #cfcde5;
  --background-color: #0b0b23;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: var(--background-color);
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

.index-container {
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;

  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

.index-container::-webkit-scrollbar {
  display: none;
}

.view {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;

  backdrop-filter: blur(12px);
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-logo {
  width: 300px;
  height: auto;
}

a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  padding:.45rem .9rem;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  line-height:1;
  color:var(--tertiary-color);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

a:hover{
  color:var(--primary-color);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.18);
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}

a:active{
  transform:translateY(0px);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

a:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(231,117,42,.25), 0 10px 24px rgba(0,0,0,.22);
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  /* font-weight: 600; */
  letter-spacing: -0.02em;
  line-height: 1.05;
}


.highlighted {
  color: var(--primary-color);
}

.emphasized {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  opacity: 0.9;
}

h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  opacity: 0.75;
}

h4 {
  margin: 0;
  font-size: 0.675rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.4;
  opacity: 0.6;
}

.text-card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.text-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

input {
  box-sizing: border-box;
  width: 300px;
  height: 50px;
  background-color: var(--background-color);
  font-size: 18px;
  color: white;
  border: 3px solid var(--primary-color);
  border-radius: 16px;
  padding: 16px;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 50px;
  width: 300px;

  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  outline: none;

  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: var(--background-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

.htmx-indicator {
  opacity: 0;
  visibility: hidden;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
  visibility: visible;
  transition: opacity 200ms ease-in;
}

.htmx-request button {
  display: none;
}
