.modal-page .cta-email label,
.modal-page .cta-field label {
  display: block;
  font-family: var(--font-ui), sans-serif;
  font-size: 12px;
  font-weight: 550;
  color: #C5C9C8;
  margin-bottom: 4px;
  padding-left: 2px;
}

.modal-page .dual-input {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 16px;
}

:root {
    --header-bg: #090A0A; /* updated tone */
    --header-border: rgba(255, 255, 255, 0.05);
    --header-blur: 12px;
    --removed-body-scroll-bar-size: 0px;
    --ease-out-quad: ease-out;
    --layer-header: 1000;
    --accent-color: #e6e6e6;

    --font-ui: "Cabinet Grotesk";
    --font-size-ui: 13px;
    --font-weight-ui: 550;
    --text-color-ui: #E5E7EB; /* updated */
    --text-hover-color-ui: #FFF;
    --text-tertiary: #8a8f98;

    --header-height: 64px;
    --page-max-width: 1000px;
    --page-padding-left: 24px;
    --page-padding-right: 24px;
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 20px;
    --spacing-05: 2px;
    --radius-3xl: 360px;
    --Shades-40: #5F6766;
    /* Modal autofill override variables */
    --modal-bg-colour: #1e1e1e;
    --text-colour: #f5f5f5;

    --color-error: #e74c3c;
}

html, body {
  background: #080A0A; /* or a solid colour from your gradient */
  overscroll-behavior: none; /* optional: disables bounce scroll */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline-color: transparent;
}

.navbar {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  isolation: isolate;
  position: fixed;
  inset-inline: 0;
  margin-inline: auto;
  z-index: var(--layer-header);
  transform: translateX(calc(-1 * var(--removed-body-scroll-bar-size, 0px) / 2));
  -webkit-backdrop-filter: blur(var(--header-blur));
  backdrop-filter: blur(10px);
  background: rgba(9, 10, 10, 0.9); /* dark colour with transparency */
  border-bottom: 1px solid var(--header-border);
  transition: 0.16s var(--ease-out-quad);
  transition-property: background;
    padding: 0;
}

.navbar-content {
  position: relative;
  height: var(--header-height, 64px);
  width: 100%;
  max-width: var(--page-max-width, 1200px);
  padding-left: var(--page-padding-left, 24px);
  padding-right: var(--page-padding-right, 24px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
  flex: 1 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 20px;
  width: auto;
  padding: 0;
}

.navbar-items {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header-height, 64px);
}

.navbar-items .navbar-item {
  color: var(--text-tertiary);
  text-decoration: none;
  font-family: var(--font-ui), sans-serif;
  font-size: var(--font-size-ui);
  font-weight: var(--font-weight-ui);
  line-height: 1;
  padding: 0 12px;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.navbar-items .navbar-item:hover {
  color: var(--text-hover-color-ui);
  opacity: 0.9;
}

 .btn--primary {
    text-decoration: none;
    font-family: var(--font-ui), sans-serif;
    font-size: var(--font-size-ui);
    font-weight: var(--font-weight-ui);
    color: var(--header-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color, #e6e6e6);
    border: 1px solid var(--accent-color, #e6e6e6);
    box-shadow: 0 8px 2px 0 transparent,
        0 5px 2px 0 rgba(0, 0, 0, .01),
        0 3px 2px 0 rgba(0, 0, 0, .04),
        0 1px 1px 0 rgba(0, 0, 0, .07),
        0 0 1px 0 rgba(0, 0, 0, .08);
    transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}
 .btn--primary:hover {
    color: var(--header-bg);
    background: #FFF;
    border: 1px solid #FFF;
}

.section-container-headline {
    background:
        linear-gradient(
                180deg,
                transparent 0%,
                transparent 40%,
                rgba(21, 23, 25, 1) 80%,
                rgba(21, 23, 25, 1) 85%,
                rgba(8, 10, 10, 1) 100%
        ),
        linear-gradient(
                180deg,
                rgba(8, 10, 10, 1) 0%,
                rgba(8, 10, 10, 1) 65%,
                rgba(21, 23, 25, 1) 75%
        );
    padding: 64px 0 0 0;
    width: 100vw;
    position: relative;
    overflow-x: hidden;
}
.section-container-feature {
    background: linear-gradient(to bottom, #151719, #080A0A);
    padding: 64px 0 160px 0;
    margin-top: 64px;
    width: 100vw;
    position: relative;
    overflow-x: hidden;
}
.section-container-footer {
    background: #080A0A;
    padding: 72px 0 72px 0;
    width: 100vw;
    position: relative;
    overflow-x: hidden;
    border-top: 1px solid var(--header-border);
}

.section {
    padding: calc(80px) var(--page-padding-right, 24px) 80px var(--page-padding-left, 24px);
    max-width: var(--page-max-width, 1200px);
    margin: 0 auto;
}
.content-section {
    padding: 112px var(--page-padding-right, 24px) 160px var(--page-padding-left, 24px);
    max-width: var(--page-max-width, 1200px);
    margin: 0 auto;
}
.cta-section {
    padding: calc(64px) var(--page-padding-right, 24px) 64px var(--page-padding-left, 24px);
    max-width: var(--page-max-width, 1200px);
    margin: 0 auto;
}
.footer-section {
    max-width: var(--page-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--page-padding-right, 24px) 0 var(--page-padding-left, 24px);
}

.announce-btn {
    display: inline-flex;
    padding: 4px var(--spacing-4, 16px) 4px 4px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-3xl, 360px);
    border: 1px solid var(--Shades-40, #5F6766);
    background: linear-gradient(145deg, #1B1F24, #111213);
    box-shadow: 0 4px 20px 0 rgba(26, 38, 37, 0.6);
    color: var(--Shades-20, #EFF0F0);
    transform: translateX(-4px);
    margin-bottom: 24px;
    margin-left: 0;
    max-width: max-content;
}
.announce-btn:hover {
    background: linear-gradient(145deg, #24282D, #18191B);
    cursor: pointer;
}
.announce-btn .primary {
    display: flex;
    padding: 8px;
    margin-right: 4px;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-05, 2px);
    border-radius: var(--radius-3xl, 360px);
        background:
      radial-gradient(circle at 30% 30%, #1B1D1E 0%, #121314 50%, #111213 80%),
      linear-gradient(145deg, #181A1B, #111213);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 0 8px rgba(255,255,255,0.03),
        0 0 12px rgba(95, 103, 102, 0.2),
        0 0 8px rgba(230, 230, 230, 0.1);
}
.announce-btn:hover .primary {
  animation: pulse-glow 1.2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 12px rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 18px rgba(255,255,255,0.2); }
  100% { box-shadow: 0 0 12px rgba(255,255,255,0.1); }
}
.announce-btn svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
}
.announce-btn svg:last-of-type {
  transform: translateY(1px);
}
.announce-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    color: transparent;
    background: linear-gradient(
        to right,
        #B6B8BB 0%,
        #EFF0F0 10%,
        #B6B8BB 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    line-height: 20px;
}

.headliner {
    display: block;
    align-items: start;
    justify-content: flex-start;
    margin: 0 0 12px 0;
    font-family: var(--font-ui), sans-serif;
    font-style: normal;
    font-size: 54px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: -0.5px;
    color: #EFF0F0;
}
.sub-headliner {
    display: block;
    align-items: start;
    justify-content: flex-start;
    margin: 0 0 40px 0;
    font-family: Manrope, sans-serif;
    font-weight: 450;
    font-size: 21px;
    color: #EFF0F0;
    opacity: 0.4;
}
.section-header {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 48px;
    margin-left: 24px;
    margin-right: 32px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 0 1px rgba(255,255,255,0.05);
}
.section-header h2 {
    font-family: var(--font-ui), sans-serif;
    font-size: 54px;
    font-style: normal;
    font-weight: 590;
    line-height: 115%; /* 55.2px */
    letter-spacing: -0.75px;
    color: #EFF0F0;
    opacity: 0.95;
}
.section-header .left {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    text-align: left;
    padding-right: 32px;
    width: 100%;
}
.section-header .right {
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-bottom: 12px;
    gap: 4px;
}
.section-header .right .cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-right: 16px;
    font-family: var(--font-ui), sans-serif;
    font-size: 16px;
    line-height: 170%;
    font-weight: 550;
    color: transparent;
    background: linear-gradient(
        to right,
        #B6B8BB 0%,
        #EFF0F0 10%,
        #B6B8BB 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    gap: 8px;
}
.section-header .right .cta:hover {
    cursor: pointer;
}
.section-header .right .cta p {
    margin: 0;
}
.section-header .right .text {
    display: flex;
    justify-content: start;
    text-align: left;
    width: 100%;
    height: 100%;
    padding-right: 96px;
    font-family: var(--font-ui), sans-serif;
    font-size: 14px;
    line-height: 170%;
    font-weight: 550;
    color: #B6B8BB;
    opacity: 0.6;
    margin: 0;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: var(--page-max-width, 1200px);
    margin: 24px auto 0 auto;
    gap: 24px;
    color: transparent;
    background: linear-gradient(
        to right,
        #B6B8BB 0%,
        #EFF0F0 10%,
        #B6B8BB 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    font-family: Manrope, sans-serif;
    font-style: normal;
}

.chalk-path {
  filter: url(#chalk-filter);
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawChalk 2s ease forwards;
}

.circle1 { animation-delay: 0.05s; }
.box2 { animation-delay: 0.75s; }
.arrow { animation-delay: 1.45s; }

@keyframes drawChalk {
  to {
    stroke-dashoffset: 0;
  }
}

.chalk-diagram {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 64px;
    padding: 0 var(--page-padding-left, 24px);
}
.chalk-diagram::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 24px;
}
.chalk-diagram svg {
  display: block;
  max-width: 100%;
}

.parent {
    display: flex;
    gap: 16px;
}
.hero-secondary {
    padding: 8px;
}
.hero-secondary:hover {
    cursor: pointer;
}

.child {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #191A1C, #121314);
    width: 100%;
    border-radius: 24px;
    padding: 32px 32px 30px 32px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.1);
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.child.visible {
    opacity: 1;
    transform: translateY(0);
}
.child:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Fade out non-hovered child cards when parent is hovered */
.parent:hover .child:not(:hover) {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.child p {
    font-family: var(--font-ui), sans-serif;
    font-size: 14px;
    line-height: 170%;
    font-style: normal;
    font-weight: 550;
    color: #B6B8BB;
    margin-top: 8px;
}
.child-text {
    font-family: Manrope, sans-serif;
    font-style: normal;
    font-size: 20px;
    font-weight: 550;
    line-height: 152%;
    color: #EFF0F0;
    opacity: 0.9;
    margin-top: 4px;
    letter-spacing: -1px;
}
.child-icon-container {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}
.child-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #EFF0F0;
    opacity: 0.9;
}
.child-illustration {
    margin-top: 24px;
    margin-bottom: 16px;
    display: inline-flex;
    padding: 0.251px 0 0 23.762px;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}
.footer {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(8, 10, 10, 0.5), rgba(8, 10, 10, 0.5));
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
    border-radius: 24px;
}
.footer-bottom {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-top: 32px;
    width: 100%;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 154%;
    color: var(--text-tertiary);
}
.footer-bottom .legal {
    display: flex;
    gap: 32px;
}
.cta-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 32px 0;
}
.cta-block form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px
}
.cta-block .cta-email {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    overflow: hidden;
    max-width: 360px;
    width: calc(100% / 0.8125);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-email.invalid {
    border-color: var(--color-error) !important;
}
.input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    flex: 1;
    overflow: visible;
}
.input-wrapper input {
  padding: 10px 12px; /* vertical + horizontal padding */
  font-size: 1rem;
  line-height: 1.5; /* makes text take up more vertical space naturally */
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.email-error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 0 12px 0 0;
    background: transparent;
}
.hidden {
  display: none !important;
}
.email-error-icon svg {
  height: 1em;
  width: 1em;
  display: block;
}
.error-tooltip {
  position: absolute;
  top: calc(100% + 6px); /* push below the input */
  left: 0;
  z-index: 9999;
  padding: 8px 10px;
  font-size: 13px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.input-wrapper:hover .error-tooltip,
.email-error-icon:hover .error-tooltip {
    opacity: 1;
    transform: translateY(0);
    z-index: 9999;
}

.cta-block .cta-email:focus-within {
    border-color: #B6B8BB;
}
.cta-email .email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 8px 0 12px;
    background: transparent;
}
.email-icon svg {
    height: 1em;
    width: 1em;
    color: #B6B8BB;
    display: block;
}
.cta-email svg {
    color: #B6B8BB;
    width: 16px;
    height: 16px;
}
.cta-block .cta-email:focus-within svg {
  color: var(--accent-color);
  transition: color 0.1s ease;
}
.cta-email input {
    width: calc(100% / 0.8125);
    padding: 0 8px 0 0;
    font-size: 13px;
    scale: 0.96;
    height: 40px;
    font-family: var(--font-ui), sans-serif;
    font-weight: 500;
    border: none;
    outline: none;
    color: #EFF0F0;
    background: transparent;
    box-shadow: none;
    min-width: calc(100% / 0.8125);
    transform-origin: center left;
  }
.cta-block input::placeholder {
    color: #B6B8BB;
    opacity: 0.3;
}
.cta-header {
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-ui), sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 550;
    line-height: 115%; /* 55.2px */
    letter-spacing: -1px;
    color: #EFF0F0;
    opacity: 0.95;
    margin-bottom: 24px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 0 1px rgba(255,255,255,0.05);
}
.subtext {
    font-family: Manrope, sans-serif;
    font-style: normal;
    font-size: 20px;
    font-weight: 550;
    line-height: 152%;
    color: #B6B8BB;
    margin-bottom: 48px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.9) 100%);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: linear-gradient(160deg, #111213 0%, #0e0f10 100%);
    padding: 16px;
    border-radius: 16px;
    max-width: 388px;
    width: 100%;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible !important;
    animation: modal-pop 0.25s ease;
    transform-origin: center;
}
@media (max-width: 480px) {
  .modal-content {
    padding: 12px !important;
  }
}
@keyframes modal-pop {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 24px;
  color: #EFF0F0;
  cursor: pointer;
}
.modal-content input {
  width: calc(100% / 0.8125);;
  padding: 12px 16px;
  border-radius: 11px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #EFF0F0;
}
h3 {
    font-family: Manrope, sans-serif;
    font-style: normal;
    font-weight: 550;
    line-height: 115%;
    letter-spacing: -1px;
    color: #EFF0F0;
    margin: 0;
}

/* Added modal tabs styles */
.modal-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  position: relative;
  flex: 1;
  overflow: hidden;
}

.modal-tabs.waitlist-active::after {
  transform: translateX(100%);
}

.modal-tab {
  background: none;
  border: none;
  padding: 0 4px 4px 4px;
  font-family: var(--font-ui), sans-serif;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 2px solid transparent;
}
.modal-tab.active {
  color: var(--accent-color);
}
.modal-page {
    display: none;
    padding: 0 16px 16px 16px;
    overflow: visible;
}
.modal-subheader {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px 20px 16px 16px;
  margin-bottom: 16px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #B6B8BB;
  font-family: var(--font-ui), sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.25px;
}
.modal-subheader-content {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.modal-subheader-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.08);;
    height: 1em;
    margin-top: calc((1.6em - 1em) / 2);
}
.modal-subheader-icon svg {
    vertical-align: text-bottom;
}
.modal-subheader-text {
    display: flex;
    align-items: flex-start;
    font-family: var(--font-ui), sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.25px;
    color: #B6B8BB;
}
.modal-subheader-text {
  font-family: var(--font-ui), sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.25px;
  color: #B6B8BB;
}

.modal-subheader svg {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  stroke: #B6B8BB;
}
.modal-page.active {
  display: block;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 10px 0;
    position: relative;
    gap: 16px;
}
.modal-header .modal-titles {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}
.modal-header .modal-title {
    position: relative;
    display: flex;
    justify-content: center;
    white-space: nowrap;
    color: var(--text-tertiary);
    text-align: center;
    font-family: var(--font-ui), sans-serif;
    font-weight: 550;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.05s ease;
}
.modal-header .modal-title.active {
    color: var(--accent-color);
}

/* Add hover effect for inactive modal titles */
.modal-header .modal-title:not(.active):hover {
    color: #B6B8BB;
}

.modal-header .modal-titles {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 16px;
    position: relative;
}

.modal-tab-indicator {
  position: absolute;
  bottom: -4px;
  height: 1px;
  background-color: var(--accent-color);
  transition: all 0.15s ease;
  width: 0;
  left: 0;
}

.modal-content.waitlist-active .modal-tab-indicator {
  transform: translateX(100%);
}
.modal-close-btn {
    right: 0;
    font-size: 24px;
    color: var(--text-tertiary);
    border-radius: 6px;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.05s ease, border-color 0.2s ease, transform 0.05s ease;
    cursor: pointer;
}

.modal-close-btn:active {
    transform: scale(0.96);
    opacity: 0.5;
}

.modal-page .cta-email {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    overflow: visible;
    position: relative;
    height: 40px;
    max-width: 360px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.modal-page .cta-email:focus-within {
    border-color: #B6B8BB;
}
.modal-page .cta-email .email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0 0 12px;
    background: transparent;
}
.modal-page .cta-email:focus-within svg {
  color: var(--accent-color);
  transition: color 0.1s ease;
}
.modal-page .cta-email input {
    height: 100%;
    width: calc(100% / 0.8125);
    min-width: calc((100% / 0.8125) - 20px);
    padding: 0 12px 0 12px;
    font-size: 16px;              /* iOS-safe */
    line-height: 16px;              /* enforces the box height */
    transform: scale(0.8125);
    font-family: var(--font-ui), sans-serif;
    font-weight: 500;
    border: none;
    outline: none;
    color: #EFF0F0;
    background: transparent;
    box-shadow: none;
    transform-origin: center left;
}
.modal-page .cta-email input::placeholder {
    color: #B6B8BB;
    opacity: 0.3;
}
.modal-page form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.modal-page .form-label {
  display: block;
  font-family: var(--font-ui), sans-serif;
  font-size: 11px;
  font-weight: 550;
  color: #C5C9C8;
  padding: 2px 4px 3px 2px;
    margin: 0;
  text-align: left;
}

/* Autofill override for modal forms */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    box-shadow: none !important;
    background-color: transparent !important;
    -webkit-text-fill-color: var(--text-colour) !important;
    transition: background-color 5000s ease-in-out 0s !important;
    filter: none !important;
    appearance: none !important;
}
input.force-repaint:-webkit-autofill {
  box-shadow: none !important;
  background-color: transparent !important;
}

.required-asterisk {
    color: var(--color-error);
}

.checkbox {
    display: flex;
    align-items: center;
    margin: 8px 0 8px 0;
    gap: 8px;
}
.checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    transition: background 0.05s ease, border-color 0.05s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    vertical-align: middle;
    margin: 0 2px 0 4px;
}
.checkbox.invalid input {
  border: 1px solid var(--color-error) !important;
}

.checkbox input:checked {
    background-color: #EFF0F0;
    border-color: #EFF0F0;
}

.checkbox input:checked::before {
    content: "✔";
    color: var(--header-bg);
    font-size: 14px;
    line-height: 1;
}
.checkbox label {
    font-family: var(--font-ui), sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.25px;
    color: #B6B8BB;
}
.checkbox a {
    font-family: var(--font-ui), sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.25px;
    color: #B6B8BB;
    text-decoration: underline;
}
.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 24px auto 32px;
}
.badge-container.animation-active {
    animation: pop 0.3s ease-out forwards, glow-pulse 0.5s ease-out forwards;
}
.badge-icon {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 30%, #1B1D1E 0%, #121314 50%, #111213 80%),
      linear-gradient(145deg, #181A1B, #111213);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.badge-icon-glow {
    box-shadow: inset 0 0 8px rgba(255,255,255,0.03), 0 0 24px rgba(95, 103, 102, 0.4);
}
.badge-icon-glow-success {
    box-shadow: inset 0 0 8px rgba(255,255,255,0.03), 0 0 24px rgba(88, 214, 141, 0.4);
}
.badge-icon-glow svg {
  width: 52px;
  height: 52px;
  stroke: #B6B8BB;
  opacity: 0.85;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.05));
  fill: none;
}
.badge-icon-glow-success svg {
  width: 52px;
  height: 52px;
  stroke: rgba(88, 214, 141, 1);
  opacity: 0.85;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.05));
  fill: none;
}

.badge-text {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-ui), sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #B6B8BB;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}
.badge-congrats {
  display: block;
  font-family: var(--font-ui), sans-serif;
  font-size: 22px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #EFF0F0;
  margin-bottom: 4px;
    margin-top: 24px;
  text-align: center;
  background: linear-gradient(180deg, #EFF0F0 0%, #C5C9C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.badge-congrats-name {
  display: block;
  margin-top: 2px;
  font-size: 24px;
  font-weight: 600;
  color: inherit;
}
.badge-with-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(50%, 55%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #1B1D1E 0%, #121314 50%, #111213 80%),
        linear-gradient(145deg, #181A1B, #111213);
    border: 2px solid rgba(255, 255, 255, 0.08);
    object-fit: contain;
    opacity: 1;
    box-shadow:
        inset 0 0 6px rgba(0,0,0,0.4),
        0 0 6px rgba(0,0,0,0.5),
        0 0 0 2px #111213; /* Thin outline matching badge */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    filter: grayscale(35%) brightness(1.2);
}

/* Add subtle hover effect */
.badge-with-logo:hover .company-logo {
    transform: translate(50%, 55%) scale(1.01);
    box-shadow:
        inset 0 0 6px rgba(0,0,0,0.4),
        0 0 4px rgba(0,0,0,0.5),
        0 0 0 2px #111213;
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes glow-pulse-success {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.8);
    filter: drop-shadow(0 0 0px #58d68d);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.1);
    filter: drop-shadow(0 0 8px #58d68d);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0px #58d68d);
  }
}
.modal-text {
  display: block;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui), sans-serif;
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.25px;
  color: #B6B8BB;
  margin: 16px auto 0 auto;
  opacity: 0.75;
  max-width: 300px;
  text-align: center;
}
button.wizard-next {
    padding: 14px 20px;
}
.appear-small {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1)
}
.appear-small.appear-delay {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s
}
.appear-small-2 {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s
}
.appear-small-2.appear-delay {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s
}
.appear-small.visible,
.appear-small.appear-delay.visible,
.appear-small-2.visible,
.appear-small-2.appear-delay.visible {
    opacity: 1;
    transform: translateY(0);
}
#badge-congrats-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-error-card {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid var(--color-error);
    color: var(--color-error);
    font-family: var(--font-ui), sans-serif;
    font-size: 13px;
    height: 44px;
    font-weight: 500;
    padding: 12px 8px 12px 12px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    line-height: 1.23;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    max-width: 360px;
}
.modal-error-card svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    stroke: var(--color-error);
    vertical-align: middle;
}
.modal-error-card.hidden {
    display: none;
}
.modal-error-card .error-card-message {
    transform: translateY(0.5px);
}

.social-proof-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 112px
}
.social-proof-section p {
    font-family: Manrope, sans-serif;
    line-height: 152%;
    letter-spacing: -0.5px;
    margin: 0;
}
.social-proof-section .main {
    font-weight: 510;
    color: #EFF0F0;
    opacity: 0.8;
    font-size: 22px;
    font-family: Manrope, sans-serif;
}
.social-proof-section .sub {
    font-family: Manrope, sans-serif;
    font-weight: 450;
    font-size: 21px;
    color: #EFF0F0;
    opacity: 0.4;
    margin-bottom: 32px;
}
.social-proof-logos {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
}
.social-proof-logos h1 {
    color: rgba(239, 240, 240, 0.1);
}
.social-proof-logo-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
    gap: 24px;
}
.social-proof-logo-row > * {
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    width: 240px;
    height: 88px;
    opacity: 0;
    transform: scale(0.75);
    filter: blur(5px);
    visibility: hidden;
}

.social-proof-logo-row > *.visible {
    display: flex;
    animation: logoReveal 0.3s ease forwards;
    animation-fill-mode: forwards;
    visibility: visible;
}

@keyframes logoReveal {
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        visibility: visible;
    }
}

.social-proof-logo-row:nth-child(1) > *:nth-child(1) { animation-delay: 0.05s; }
.social-proof-logo-row:nth-child(1) > *:nth-child(2) { animation-delay: 0.1s; }
.social-proof-logo-row:nth-child(1) > *:nth-child(3) { animation-delay: 0.15s; }
.social-proof-logo-row:nth-child(2) > *:nth-child(1) { animation-delay: 0.1s; }
.social-proof-logo-row:nth-child(2) > *:nth-child(2) { animation-delay: 0.15s; }
.social-proof-logo-row:nth-child(2) > *:nth-child(3) { animation-delay: 0.2s; }

.svg-wrapper {
  padding: 32px 24px; /* adjust as needed */
  box-sizing: border-box;
}

.svg-wrapper svg {
    width: auto;
    height: 64px;
    display: block;
}
