:root {
  --lime: #DFFB5B;
  --purple: #C8A8FF;
  --purple-light: #EFE6FD;
  --red: #F43F5E;
  --pink: #FDE3E0;
  --black: #0B0B0B;
  --body-text: #2D2D2D;
  --muted-text: #465066;
  --border: #E0E2E7;
  --white: #FFFFFF;
  --heading-font: "Plus Jakarta Sans", sans-serif;
  --body-font: "Inter", sans-serif;
  --container-width: 1550px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body-font); color: var(--black); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.section-container { width: min(var(--container-width), calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Navbar */
.navbar-wrapper { width: min(1380px, calc(100% - 80px)); margin: 12px auto 0; position: relative; z-index: 5; }
.navbar { min-height: 64px; padding: 9px 11px 9px 24px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); border: 1px solid #D6DAE1; border-radius: 40px; box-shadow: 0 2px 5px rgba(15,23,42,.09), 0 1px 2px rgba(15,23,42,.04); }
.brand { display: flex; align-items: center; gap: 13px; font-family: var(--heading-font); font-size: 23px; font-weight: 800; letter-spacing: -.045em; }
.brand-icon { width: 42px; height: 42px; object-fit: contain; }
.launch-badge { min-height: 43px; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--lime); border-radius: 40px; font-size: 15px; font-weight: 800; color: var(--black); letter-spacing: -.035em; }
.launch-badge svg { width: 23px; height: 23px; stroke-width: 2; }

/* Hero */
.hero { min-height: 565px; padding-top: 35px; padding-bottom: 39px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; column-gap: 32px; position: relative; isolation: isolate; }
/* Match the subtle dotted texture of the Launching Soon panel. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(190,197,209,.28) 1px, transparent 1.5px);
  background-size: 13px 13px;
  background-position: 0 0;
}
.hero-content { position: relative; z-index: 2; min-width: 0; }
.mascot-wrapper { position: relative; width: 205px; height: 145px; margin-left: 19px; margin-bottom: 3px; }
.cube-mascot { width: 174px; height: 145px; object-fit: contain; animation: mascotFloat 4s ease-in-out infinite; }
.spark { position: absolute; object-fit: contain; pointer-events: none; animation: sparkPulse 3s ease-in-out infinite; }
.spark-mascot { width: 43px; height: 43px; top: -7px; right: 0; transform: rotate(5deg); }
.hero-heading { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--heading-font); font-size: clamp(43px,4.8vw,57px); font-weight: 800; line-height: 1.12; letter-spacing: -.065em; color: var(--black); white-space: nowrap; }
.heading-line { display: block; }
.architecture-highlight { display: inline-block; padding: 3px 12px 6px; margin-top: 1px; margin-left: -5px; margin-bottom: 4px; background: var(--purple); border: 1.5px solid #151515; border-radius: 11px; box-shadow: 2px 3px 0 rgba(12,12,12,.16); transform: rotate(-.8deg); transform-origin: left center; }
.ai-line { position: relative; display: flex; align-items: center; gap: 12px; }
.ai-highlight { display: inline-flex; align-items: center; justify-content: center; min-width: 95px; min-height: 65px; padding: 0 13px; background: var(--red); border: 1.5px solid #171717; color: #fff; line-height: 1; letter-spacing: -.04em; box-shadow: 3px 3px 0 rgba(10,10,10,.17); transform: rotate(-2deg); }
.spark-ai { position: relative; width: 42px; height: 42px; margin-left: 0; transform: rotate(180deg); }
.hero-description { max-width: 465px; margin-top: 17px; color: var(--muted-text); font-size: 19px; line-height: 1.5; font-weight: 400; letter-spacing: -.025em; }

/* Waitlist forms */
.waitlist-form { width: 100%; position: relative; }
.hero-form { max-width: 555px; margin-top: 21px; }
.email-input-wrapper { width: 100%; min-height: 61px; display: flex; align-items: center; position: relative; background: #fff; border: 1.5px solid #151515; border-radius: 40px; box-shadow: 0 2px 3px rgba(0,0,0,.05); transition: border-color var(--transition), box-shadow var(--transition); }
.email-input-wrapper:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(244,63,94,.12); }
.email-input-wrapper > svg { width: 28px; height: 28px; flex-shrink: 0; margin-left: 19px; color: #101828; stroke-width: 1.8; }
.email-input-wrapper input { flex: 1; width: 0; min-width: 0; height: 57px; padding: 0 14px; background: transparent; border: 0; outline: none; font-size: 16px; font-weight: 400; color: var(--black); }
.email-input-wrapper input::placeholder { color: #647084; opacity: 1; }
.submit-button { min-height: 59px; min-width: 232px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 17px; position: absolute; right: -1px; top: -1px; bottom: -1px; background: var(--red); color: #fff; border: none; border-radius: 40px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; box-shadow: 0 4px 10px rgba(244,63,94,.18); transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.submit-button svg { width: 24px; height: 24px; stroke-width: 2; }
.submit-button:hover { background: #E92F50; transform: translateY(-2px); box-shadow: 0 7px 15px rgba(244,63,94,.27); }
.submit-button:active { transform: translateY(0) scale(.98); }
.submit-button:disabled { cursor: not-allowed; opacity: .7; transform: none; }
.form-message { min-height: 19px; margin: 7px 0 0 15px; font-size: 12px; line-height: 1.5; font-weight: 600; }
.form-message.error { color: #E11D48; }
.form-message.success { color: #16803D; }

/* Hero visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding-top: 4px; }
.browser-mockup { width: 100%; max-width: 620px; height: auto; object-fit: contain; filter: drop-shadow(0 9px 12px rgba(0,0,0,.08)); transform: rotate(-.3deg) scale(1.04); transform-origin: center; }
.spark-browser { width: 54px; height: 54px; top: -29px; right: -10px; transform: rotate(2deg); }
.section-divider { width: 100%; height: 1px; background: #E5E7EB; }

/* Features */
.features-section { padding-top: 41px; padding-bottom: 62px; }
.section-heading { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--heading-font); font-size: clamp(30px,3.8vw,43px); font-weight: 800; letter-spacing: -.06em; line-height: 1.3; text-align: center; }
.waitlist-highlight { display: inline-block; padding: 1px 10px 4px; position: relative; background: var(--lime); border: 1.5px solid #151515; border-radius: 13px; box-shadow: 2px 3px 0 rgba(0,0,0,.12); transform: rotate(-2deg); }
.spark-waitlist { width: 43px; height: 43px; top: -17px; right: calc(50% - 280px); transform: rotate(0deg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 34px; }
.feature-card { display: flex; align-items: flex-start; gap: 20px; padding: 0 30px; min-height: 105px; position: relative; }
.feature-card:first-child { padding-left: 15px; }
.feature-card:last-child { padding-right: 0; }
.feature-card:not(:last-child)::after { content: ""; position: absolute; top: 2px; bottom: 0; right: 0; width: 1px; background: #D9DDE5; }
.feature-icon { width: 76px; height: 76px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 20px; }
.feature-icon svg { width: 42px; height: 42px; color: #0C0C0C; stroke-width: 2; }
.feature-icon-lime { background: #E8FF70; }
.feature-icon-pink { background: var(--pink); }
.feature-icon-purple { background: var(--purple-light); }
.feature-content { padding-top: 3px; }
.feature-content h3 { font-family: var(--heading-font); font-size: 21px; font-weight: 800; letter-spacing: -.055em; line-height: 1.35; margin-bottom: 5px; white-space: nowrap; }
.feature-content p { font-size: 17px; font-weight: 400; line-height: 1.5; letter-spacing: -.025em; color: var(--muted-text); }

/* Launch CTA */
.launch-section { padding-bottom: 28px; }
.launch-box { width: 100%; min-height: 292px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; padding: 25px 25px 27px; border: 1.5px dashed #242424; border-radius: 32px; background: radial-gradient(circle,rgba(190,197,209,.22) 1px,transparent 1.5px); background-size: 13px 13px; background-color: #fff; }
.cloud { position: absolute; z-index: 0; width: 190px; height: 125px; object-fit: contain; pointer-events: none; }
.cloud-left { left: -8px; bottom: -9px; width: 190px; transform: none; }
.cloud-right { right: -10px; bottom: -10px; width: 195px; }
.launch-content { width: 100%; max-width: 700px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.launch-heading { display: flex; align-items: center; justify-content: center; gap: 9px; position: relative; font-family: var(--heading-font); font-size: clamp(35px,4.3vw,49px); font-weight: 800; letter-spacing: -.065em; line-height: 1.25; }
.launch-rocket { width: 56px; height: 56px; object-fit: contain; }
.spark-launch { width: 47px; height: 47px; right: -47px; top: -11px; }
.launch-description { max-width: 600px; margin-top: 6px; color: var(--muted-text); font-size: 20px; font-weight: 400; line-height: 1.5; letter-spacing: -.025em; }
.launch-form { width: min(100%,665px); margin-top: 29px; }
.launch-form .email-input-wrapper { min-height: 61px; }
.launch-form .submit-button { min-width: 258px; }

/* Motion */
@keyframes mascotFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sparkPulse { 0%,100% { opacity: 1; scale: 1; } 50% { opacity: .75; scale: 1.08; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Tablet */
@media (max-width:1050px) {
  .section-container { width: calc(100% - 56px); }
  .hero { grid-template-columns: 1fr .9fr; gap: 15px; }
  .hero-heading { font-size: clamp(38px,5vw,49px); }
  .architecture-highlight { padding-inline: 9px; }
  .ai-highlight { min-width: 80px; min-height: 56px; }
  .hero-description { font-size: 17px; }
  .submit-button { min-width: 205px; gap: 10px; padding-inline: 16px; font-size: 14px; }
  .feature-card { gap: 13px; padding-inline: 17px; }
  .feature-icon { width: 65px; height: 65px; border-radius: 17px; }
  .feature-icon svg { width: 36px; height: 36px; }
  .feature-content h3 { font-size: 18px; }
  .feature-content p { font-size: 15px; }
}

/* Mobile and small tablet */
@media (max-width:760px) {
  .navbar-wrapper { width: calc(100% - 32px); margin-top: 12px; }
  .navbar { min-height: 57px; padding: 7px 9px 7px 15px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand-icon { width: 34px; height: 34px; }
  .launch-badge { min-height: 36px; padding-inline: 11px; gap: 5px; font-size: 10px; }
  .launch-badge svg { width: 17px; height: 17px; }
  .section-container { width: calc(100% - 40px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 26px; padding-bottom: 30px; gap: 24px; }
  .hero-content { width: 100%; }
  .mascot-wrapper { width: 150px; height: 110px; margin-left: 4px; margin-bottom: 5px; }
  .cube-mascot { width: 125px; height: 110px; }
  .spark-mascot { width: 35px; height: 35px; right: -2px; top: 0; }
  .hero-heading { font-size: clamp(33px,8vw,49px); white-space: normal; line-height: 1.14; }
  .architecture-highlight { max-width: 100%; font-size: .88em; margin-left: -3px; padding: 4px 8px 6px; white-space: nowrap; }
  .ai-line { gap: 9px; }
  .ai-highlight { min-width: 66px; min-height: 47px; padding-inline: 9px; }
  .spark-ai { width: 32px; height: 32px; }
  .hero-description { max-width: 470px; margin-top: 13px; font-size: 16px; }
  .hero-form { margin-top: 20px; }
  .email-input-wrapper { min-height: 55px; }
  .email-input-wrapper > svg { width: 23px; height: 23px; margin-left: 13px; }
  .email-input-wrapper input { height: 52px; font-size: 14px; padding-inline: 9px; }
  .submit-button { min-height: 53px; min-width: 150px; padding-inline: 12px; gap: 7px; font-size: 12px; }
  .submit-button svg { width: 19px; height: 19px; }
  .hero-visual { width: 100%; padding: 5px 4px 0; }
  .browser-mockup { width: 100%; max-width: 550px; }
  .spark-browser { width: 42px; height: 42px; right: 0; top: -13px; }
  .features-section { padding-top: 32px; padding-bottom: 35px; }
  .section-heading { font-size: clamp(26px,6vw,36px); flex-wrap: wrap; gap: 7px; }
  .waitlist-highlight { padding: 1px 8px 4px; }
  .spark-waitlist { width: 32px; height: 32px; right: 1%; top: -20px; }
  .features-grid { grid-template-columns: 1fr; margin-top: 25px; gap: 0; }
  .feature-card,.feature-card:first-child,.feature-card:last-child { min-height: auto; padding: 17px 8px; gap: 17px; }
  .feature-card:not(:last-child)::after { width: 100%; height: 1px; top: auto; right: 0; bottom: 0; }
  .feature-icon { width: 65px; height: 65px; border-radius: 17px; }
  .feature-content { padding-top: 1px; }
  .feature-content h3 { font-size: 18px; }
  .feature-content p { font-size: 15px; }
  .desktop-break { display: none; }
  .launch-section { padding-bottom: 20px; }
  .launch-box { min-height: 290px; padding: 35px 16px 40px; border-radius: 24px; }
  .launch-content { max-width: 100%; }
  .launch-heading { font-size: clamp(27px,7vw,39px); gap: 5px; }
  .launch-rocket { width: 40px; height: 40px; }
  .spark-launch { width: 31px; height: 31px; right: -24px; top: -22px; }
  .launch-description { font-size: 15px; margin-top: 10px; max-width: 430px; }
  .launch-form { margin-top: 22px; }
  .launch-form .email-input-wrapper { min-height: 55px; }
  .launch-form .submit-button { min-width: 150px; }
  .cloud { width: 115px; height: 90px; }
  .cloud-left { left: -12px; bottom: -7px; width: 115px; }
  .cloud-right { right: -10px; bottom: -8px; width: 120px; }
}

@media (max-width:390px) {
  .brand { font-size: 15px; }
  .brand-icon { width: 29px; height: 29px; }
  .launch-badge { font-size: 9px; padding-inline: 8px; }
  .hero-heading { font-size: 32px; }
  .architecture-highlight { font-size: .82em; }
  .submit-button { min-width: 133px; font-size: 11px; gap: 4px; }
  .email-input-wrapper input { font-size: 12px; }
  .section-heading { font-size: 25px; }
  .launch-heading { font-size: 26px; }
  .launch-rocket { width: 34px; height: 34px; }
}

/* Accessibility */
button:focus-visible,a:focus-visible { outline: 3px solid rgba(139,92,246,.6); outline-offset: 4px; }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
