:root {
    --animation-speed-slow: 1s;
    --animation-speed-medium: 0.5s;
    --animation-speed-fast: 0.25s;

    --gray-100: hsl(0, 0%, 100%);
    --gray-90: hsl(0, 0%, 90%);
    --gray-80: hsl(0, 0%, 80%);
    --gray-70: hsl(0, 0%, 70%);
    --gray-60: hsl(0, 0%, 60%);
    --gray-20: hsl(0, 0%, 20%);
    --gray-10: hsl(0, 0%, 10%);

    --accent-light: hsl(200, 20%, 50%);
    --accent-dark: hsl(215, 15%, 10%);
    --accent-darker: hsl(215, 15%, 5%);
    
    --blue-dark-colour: hsl(200deg, 75%, 50%);
    --blue-base-colour: hsl(200deg, 75%, 60%);
    --blue-bright-colour: hsl(200deg, 75%, 70%);
    
    --bg-dark: #0b0c10;
}
::-webkit-scrollbar {
    width: 5px;
    height: 10px
}
::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 2px;
}
::-webkit-scrollbar-track {
    background: #333;
}


@font-face {
    font-family: 'aptos';
    src: url('../fonts/aptos.ttf');
}
@font-face {
    font-family: 'Lexend-Black';
    src: url('../fonts/Lexend-Black.ttf');
}
@font-face {
    font-family: 'Lexend-Bold';
    src: url('../fonts/Lexend-Bold.ttf');
}
@font-face {
    font-family: 'Lexend-ExtraBold';
    src: url('../fonts/Lexend-ExtraBold.ttf');
}
@font-face {
    font-family: 'Lexend-ExtraLight';
    src: url('../fonts/Lexend-ExtraLight.ttf');
}
@font-face {
    font-family: 'Lexend-Light';
    src: url('../fonts/Lexend-Light.ttf');
}
@font-face {
    font-family: 'Lexend-Medium';
    src: url('../fonts/Lexend-Medium.ttf');
}
@font-face {
    font-family: 'Lexend-Regular';
    src: url('../fonts/Lexend-Regular.ttf');
}
@font-face {
    font-family: 'Lexend-SemiBold';
    src: url('../fonts/Lexend-SemiBold.ttf');
}
@font-face {
    font-family: 'Lexend-Thin';
    src: url('../fonts/Lexend-Thin.ttf');
}

html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    font-family: 'Lexend-ExtraLight';
    color: var(--gray-90);
    background-color: var(--gray-10);
}


a {
    color: var(--accent-light);
}
h1 {
    font-size: 48px;
    line-height: 52px;
    font-family: 'Lexend-ExtraLight';
    font-weight: initial;
    margin: 24px 0px
}
h1 .bold {
    font-family: 'Lexend-Bold';
}
h2 {
    font-weight: initial;
    font-family: 'Lexend-ExtraLight';
    margin: 16px 0px;
}
input[type="button"] {
    background-color: var(--gray-100);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}
input[type="button"]:hover {
    padding: 10px 20px;
    box-shadow: 2px 4px 5px var(--join-button-shadow-colour);
}

.page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.bg-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.25;
}
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, color-mix(in oklab, var(--bg-dark) 30%, transparent) 0%, color-mix(in oklab, var(--bg-dark) 80%, transparent) 50%, var(--bg-dark) 100%);
}

.landing-page {
    padding: 24px 24px;
    height: calc(100% - 48px);
    z-index: 1;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .landing-page {
        padding: 36px 48px;
        height: calc(100% - 72px);
    }
}

.gradient-text{
    display:inline-block;
    background: linear-gradient(90deg, #3b82f6 0%, #22d3ee 100%); /* from-blue-500 to-cyan-400 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-container {
    flex: 0 0 auto;
}
.logo-container img {
    height: 24px;
    width: auto;
}
@media (min-width: 768px) {
    .logo-container img {
        height: 35px;
    }
}

.slogan-container {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.slogan-content {
    max-width: 800px;
    margin-bottom: 0;
}
@media (min-width:768px){
    .slogan-content {
        margin-bottom: 24px;
    }
}

.headline {
    line-height: 1.15;
    margin: 0 auto 12px auto;
    color: var(--gray-90);
    font-family: 'Lexend-ExtraLight';
    font-weight: 700;
    font-size:1.85rem;
}
.subline {
    font-size: 1rem;
    line-height: 1.35rem;
}

@media (min-width:768px){
    .headline{
        font-size:3.75rem;
    margin: 0 auto 24px auto;
    }
    .subline{
        font-size:1.75rem;
        line-height:2rem;
    }
}


.availability {
    margin: 16px 0;
    font-size: 0.9rem;
    color: hsl(0deg, 0%, 60%);
    text-align: center;
}
@media (min-width: 768px) {
    .availability {
        margin: 24px 0;
    }
}

.chevron-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chevron-container a {
    cursor: pointer;
}
.chevron-container img {
    width: 24px;
    height: auto;
}
@media (min-width: 768px) {
    .chevron-container img  {
        width: 36px;
        height: 36px;
    }
}


.notify-me-button {
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Lexend-Medium';
    font-size: 16px;
    background-color: var(--accent-light);
}

.signup-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    width: 100%;
}
@media (max-width: 768px) {
    .signup-form {
        flex-direction: column;
    }
}

.field {
    flex: 1 1 auto;
    padding:.75rem 1rem;
    border-radius:.5rem;
    color:var(--text-900);
    outline: none;
    background: color-mix(in oklab, #1f2937 50%, transparent); /* ~gray-800/50 */
    color: white;

    
    border:1px solid hsl(0deg, 0%, 30%);
    box-shadow: transparent;
    transition: box-shadow var(--animation-speed-medium) ease, border-color var(--animation-speed-medium) ease;
}
.field::placeholder {
    color:#6b7280; /* gray-500 */
}
.field:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--blue-bright-colour) 50%, transparent);
}

button {
    width: -moz-fit-content;
    width: fit-content;
    font-family: 'aptos';
    border: none;
    border-radius: 8px;
    height: 42px;
    line-height: 42px;
    cursor: pointer;
    font-size: 14px;
    padding: 0px 20px;
    text-wrap: nowrap;
    
    background-color: hsl(200deg, 100%, 60%);
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    transition: background-color var(--animation-speed-medium), color var(--animation-speed-medium);
}
button:hover {
    background-color: hsl(0deg, 0%, 100%);
}

.submit {
    width: auto;
}
@media (max-width: 768px) {
    .submit {
        width: 100%;
    }
}

.response-text {
    margin-top: 12px;
    font-size: 1rem;
    color: hsl(200deg, 70%, 50%);
    opacity: 0;
    
    transition: opacity var(--animation-speed-fast);
}
.show {
    opacity: 1;
}


.feature-page {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-title {
    margin: 96px 0;
}

.feature-page .feature-title h2 {
    font-weight: 700;
    letter-spacing: -0.025em;
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-page .feature-title h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.feature-page .feature-title p {
    margin: 8px 24px 0 24px;
    font-size: 1.1rem;
    color: hsl(0deg, 0%, 60%);
}



.feature-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px;
    margin-top: 0;
    max-width: 900px;
}
@media (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        margin: 96px;
        margin-top: 0;
    }
}
.feature-item .description {
    color: hsl(0deg, 0%, 60%);
    line-height: 1.5rem;
}

.compare-content {
    flex: 0 0 50%;
}
.text-content {
    flex: 0 0 50%;
}
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    order: 1;
}
.text-content h3 {
    font-weight: 700;
    color: white;
    margin: 8px 0;
}
.compare-content {
    order: 2;
}
@media (min-width: 768px) {
    .text-content {
        order: initial
    }
    .compare-content {
        order: initial
    }
}

.compare {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    user-select: none;
    touch-action: none;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare .top {
  clip-path: polygon(0 0, var(--pos) 0, var(--pos) 100%, 0 100%);
}

/* Divider line at the split */
.divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255,255,255,.9);
    pointer-events: none;
}

/* Handle */
.handle {
  position: absolute;
  left: var(--pos);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.15);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.handle::before, .handle::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  position: absolute;
}
.handle::before { left: 8px; transform: translateX(-6px) rotate(225deg); } /* left caret */
.handle::after  { right: 8px; transform: translateX(6px)  rotate(45deg); }  /* right caret */

/* Invisible input range on top for keyboard/touch accessibility */
.slider {
  position: absolute;
  inset: 0;
  appearance: none;
  background: none;
  outline: none;
  opacity: 0;          /* keep it usable but hidden */
  width: 100%;
  height: 100%;
  cursor: ew-resize;
}
.slider:focus-visible + .focusring {
  position: absolute; inset: 6px;
  border-radius: 10px;
  outline: 2px solid #7aa2ff;
  outline-offset: 0;
  pointer-events: none;
}
  

.who-page {
    background-color: white;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 144px 0;
}
.who-page p {
    max-width: 600px;
    margin: 16px 24px 0 24px;
    line-height: 1.75rem;
    font-size: 1.25rem;
}

.cta-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 96px 24px;
}
.cta-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    gap: 10px;
    background-color: #0b0c10;
}