    /* CSS Variables for cleaner management */
:root {
    --primary-color: var(--km-primary);
    --secondary-color: var(--km-primary-dark);
    --accent-color: var(--km-accent);
    --accent-color-2: var(--km-secondary);
    --background-color: var(--km-soft);
    --text-color: var(--km-text);
    --light-text-color: var(--km-text-muted);
    --border-radius: 12px;
    --transition: all 0.5s ease-in-out;
    --shadow: var(--km-shadow);
    --hero-overlay: rgba(255, 255, 255, 0.5);
}

/* dark mode - update before making live!
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #121212;
    --text-color: #eee;
    --primary-color: #4da6ff;
  }
}
*/

html {
    scroll-behavior: smooth;
}

/* Resetting Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--km-font-body, 'Lexend', sans-serif); /* Other options, Quicksand, Roboto, Lexend */
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Make all paragraph text semi-bold */
p {
    font-weight: 400;
}

/* Name inputs container - converted to Tailwind: flex gap-2 and flex-1 for inputs */

/* Hero Section */
.hero {
    /* If you use other images, e.g. test2.png, update their URLs as well: */
    background: url("../index/now_banner.c86ae54ee688.webp") no-repeat center center/cover;
    background-attachment: fixed;
    height: 110vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--km-nav-offset, 0px);
}

main > .hero:first-child {
    --km-nav-offset: calc(var(--km-nav-clearance, 0px) + var(--km-nav-gap, 0px) - var(--km-nav-overlap, 0px));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 420px;
    /* Left margin now handled by Tailwind ml-[10%] class */
    color: var(--primary-color);
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.hero-content img {
    display: block;
    width: 112px;
    height: auto;
    margin: 0 auto 14px;
    position: relative;
}

/* Logo progress indicator */
.logo-container {
    position: relative;
    display: inline-block;
}

/* Logo progress indicator */
.logo-tick {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-tick.visible {
    opacity: 1;
}

/* Hero h1 now uses Tailwind classes */

.hero-content p {
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--text-color);
}

.km-start-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 64rem;
    margin: 0 auto 1.5rem;
}

.km-start-card {
    min-height: 13rem;
    padding: 1.15rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    color: var(--text-color);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    width: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.km-start-card--soft {
    background: var(--background-color);
}

.km-start-card__icon {
    width: 4.25rem;
    height: 4.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.km-start-card__icon i {
    font-size: 1.7rem;
    line-height: 1;
}

.km-start-card__icon span {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
}

.km-start-card__icon--plain {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.km-start-card__icon--plain img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
}

.km-start-card__title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 700;
}

.km-start-card__copy {
    margin: 0;
    color: #374151;
    font-size: 1rem;
    line-height: 1.5;
}

.restore-passport-card {
    appearance: none;
    border-style: solid;
    cursor: pointer;
    font: inherit;
}

.restore-passport-card:hover,
.restore-passport-card:focus-visible,
.restore-passport-card.is-drag-over {
    border-color: var(--primary-color);
    background-color: #f8fbfd;
    box-shadow: 0 10px 24px rgba(0, 95, 131, 0.16);
    transform: translateY(-2px);
}

.restore-passport-card.is-drag-over {
    outline: 3px solid rgba(0, 95, 131, 0.18);
    outline-offset: 3px;
}

@media screen and (max-width: 760px) {
    .km-start-cards {
        grid-template-columns: 1fr;
    }

    .km-start-card {
        min-height: 0;
    }
}


/* Send Button Container now uses Tailwind: flex flex-col md:flex-row gap-4 mt-5 */

/* Button styling now handled by Tailwind classes */

/* All button styling now handled by Tailwind classes in HTML */

/* Unified mobile styles */
@media screen and (max-width: 768px) {
  body {
    font-size: 1rem;
  }
  .hero {
    justify-content: center;
    align-items: center;
    background-attachment: scroll;
    min-height: 100svh;
    height: auto;
    padding: calc(var(--km-nav-clearance, 0px) + 1.5rem) 0 2rem;
    /* Use a mobile-optimized banner image */
    background: url("../index/now_banner_mobile.b553a2e58164.webp") no-repeat center center/cover;
  }
  .hero-content {
    text-align: center;
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 16px;
  }
  .hero-content img {
    width: 96px;
    margin-bottom: 12px;
  }
  .hero-content p {
    font-size: 1.02rem;
  }
}