:root {
  --background-color: #09090B;
  --section-title-color: '';
  --section-subtitle-color: '#FAFAFA99';
  --border-color: #27272A
    /* gray-800 */
}

/* Mobile overflow fixes */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Ensure tables don't break layout */
table {
  table-layout: auto;
}

/* Prevent long text from breaking layout */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: var(--background-color);
}

section {
  overflow-x: hidden;
}

.text-highlight {
  color: #FCEE1D;
  font-weight: 700;
}

.font-unbounded {
  font-family: 'Unbounded', sans-serif;
}

.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: clamp(36px, 6vw, 48px);
  line-height: clamp(1.1, 1.2, 1.3);
  letter-spacing: -2%;
}

.section-container {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: Unbounded, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: clamp(24px, 4vw, 48px);
  leading-trim: NONE;
  line-height: clamp(1.1, 1.2, 1.3);
  letter-spacing: -2%;
  background: linear-gradient(to right, #C6F1F7, #FAF27A, #396BB3CC, #C2E9CD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: clamp(12px, 2vw, 16px);
  leading-trim: NONE;
  line-height: clamp(1.3, 1.4, 1.5);
  letter-spacing: 0%;
  margin-top: 8px;
  color: #FAFAFA99;
}

.section-card {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #141414;
  overflow: hidden;
}

#tools .section-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-card-icon-box {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #27272A, #141414);
}

.table-scoring tr {
  border-bottom: 1px solid var(--border-color);
}

.table-scoring th,
.table-scoring td {
  padding: 20px 20px 20px 0;
  vertical-align: top;
}

.gradient-border {
  background: linear-gradient(to right, #FCEE1D, #396BB3, #FCEE1D, #396BB3);
  padding: 1px;
  border-radius: 4px;
}

.gradient-border div {
  background: var(--background-color);
}

.gradient-black {
  background: linear-gradient(to bottom, transparent, black);
}

.smooth-transition {
  transition: all 0.3s ease-in-out;
}

.text-button {
  font-size: clamp(12px, 2vw, 16px);
  line-height: clamp(1.3, 1.4, 1.5);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}