@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
  /* IdeaMandu brand system */
  --primary: #652d86;
  --secondary: #4b5563;
  --accent: #a855f7;
  --surface: #f5f3ff;
  --paper: #fbfaff;
  --ink: #1f2937;
  --muted: #596273;
  --accent-soft: #e9d5ff;
  --primary-soft: #ede3f4;
  --line: rgba(75, 85, 99, .2);
  --display: 'Sora', 'Arial Black', sans-serif;
  --sans: 'Manrope', Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: white; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(168, 85, 247, .18);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--primary);
}
.brand sup { font: 8px var(--mono); vertical-align: top; margin-left: 2px; }
.brand-mark { display: flex; align-items: end; width: 23px; height: 23px; gap: 2px; transform: skew(-8deg); }
.brand-mark span { display: block; width: 6px; background: var(--primary); border-radius: 1px; }
.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 23px; }

.launch-status {
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(168,85,247,.14); animation: pulse 2s infinite; }
.nav-cta {
  justify-self: end;
  border: 0;
  background: none;
  padding: 12px 0 12px 12px;
  font: 500 12px var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}
.nav-cta span { margin-left: 8px; display: inline-block; transition: transform .25s; }
.nav-cta:hover span { transform: translate(3px, -3px); }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: 148px 8vw 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 3% 8%, rgba(101,45,134,.11), transparent 27%),
    radial-gradient(circle at 96% 82%, rgba(168,85,247,.08), transparent 30%);
}
.hero-grid {
  position: absolute;
  inset: 92px 0 0;
  opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}
.hero-content { position: relative; z-index: 5; max-width: 980px; width: 100%; text-align: center; }
.launch-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 8px 7px 11px;
  overflow: hidden;
  color: var(--primary);
  background: rgba(245,243,255,.82);
  border: 1px solid rgba(101,45,134,.3);
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(101,45,134,.1), inset 0 1px rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  font: 500 9px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.launch-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(168,85,247,.14) 45%, transparent 70%);
  transform: translateX(-110%);
  animation: launchShimmer 4s ease-in-out infinite;
}
.launch-pill > span { position: relative; z-index: 1; }
.launch-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 10px 32px rgba(101,45,134,.16), 0 0 0 4px rgba(168,85,247,.09);
}
.launch-signal {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--primary-soft);
}
.launch-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(168,85,247,.45);
  animation: launchPulse 2s ease-out infinite;
}
.launch-arrow {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-left: 2px;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  font-size: 10px;
  transition: transform .3s ease, background .3s ease;
}
.launch-pill:hover .launch-arrow { transform: rotate(45deg); background: var(--accent); }
.eyebrow, .section-kicker {
  margin: 0 0 24px;
  font: 500 10px var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before, .section-kicker::before { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 7.5vw, 112px);
  line-height: .95;
  letter-spacing: -.075em;
  font-weight: 600;
}
.idea-word { position: relative; display: inline-block; margin-right: .11em; font-style: italic; font-weight: 500; z-index: 0; }
.idea-word::after {
  content: '';
  position: absolute;
  inset: 10% -4% -2%;
  z-index: -1;
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-4deg) scaleX(1.04);
}
.hero-copy { max-width: 600px; margin: 32px auto 34px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.search-shell { max-width: 780px; margin: 0 auto; position: relative; z-index: 10; }
.smart-search {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 9px 9px 9px 21px;
  background: rgba(245,243,255,.86);
  border: 1px solid rgba(75,85,99,.3);
  border-radius: 100px;
  box-shadow: 0 16px 50px rgba(101,45,134,.1), inset 0 1px white;
  backdrop-filter: blur(14px);
  transition: border-color .2s, box-shadow .2s;
}
.smart-search:focus-within { border-color: var(--primary); box-shadow: 0 20px 60px rgba(101,45,134,.14), 0 0 0 4px rgba(168,85,247,.2); }
.smart-search svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.smart-search input { min-width: 0; border: 0; outline: 0; padding: 10px 0; background: transparent; font-size: 14px; color: var(--ink); }
.smart-search input::placeholder { color: #7b8290; }
.smart-search kbd { color: var(--secondary); border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; font: 10px var(--mono); }
.smart-search button, .email-row button {
  border: 1px solid var(--primary);
  border-radius: 100px;
  background: var(--primary);
  color: white;
  padding: 14px 22px;
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
}
.smart-search button:hover, .email-row button:hover { background: var(--secondary); color: white; transform: translateY(-2px); }

.suggestions {
  position: absolute;
  inset: calc(100% + 10px) 16px auto;
  padding: 17px;
  background: rgba(251,250,255,.98);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(101,45,134,.16);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: .25s ease;
}
.suggestions.open { opacity: 1; visibility: visible; transform: translateY(0); }
.suggestions-label { margin: 0 8px 10px; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.suggestions button { display: grid; grid-template-columns: auto 1fr auto; width: 100%; gap: 14px; align-items: center; border: 0; border-top: 1px solid var(--line); padding: 12px 8px; background: none; text-align: left; cursor: pointer; }
.suggestions button:hover { background: var(--surface); }
.suggestions b { display: block; font-size: 12px; }
.suggestions small { color: var(--muted); font-size: 10px; }
.suggestion-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 12px var(--mono); }
.suggestion-icon.lime { background: var(--accent-soft); color: var(--primary); }
.suggestion-icon.coral { background: var(--primary-soft); color: var(--primary); }
.suggestion-icon.blue { background: var(--surface); color: var(--accent); border: 1px solid var(--accent-soft); }
.suggestion-arrow { font: 14px var(--mono); transition: transform .2s; }
.suggestions button:hover .suggestion-arrow { transform: translateX(4px); }

.hero-actions { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 7px 7px 7px 20px;
  border: 1px solid var(--primary);
  border-radius: 100px;
  background: var(--primary);
  color: white;
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.primary-cta i { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--accent); color: white; font-style: normal; transition: transform .3s; }
.primary-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--accent-soft); }
.primary-cta:hover i { transform: rotate(45deg); }
.hero-actions p { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.hero-actions p span { color: var(--ink); }

.vertical-word { position: absolute; left: clamp(18px, 3vw, 55px); top: 50%; z-index: 3; transform: translateY(-35%); writing-mode: vertical-rl; font-family: var(--display); letter-spacing: .1em; font-size: 11px; }
.vertical-word b { color: var(--accent); margin-top: 8px; font-weight: 700; }
.floating-note { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: rgba(245,243,255,.75); backdrop-filter: blur(5px); border: 1px solid var(--line); box-shadow: 7px 7px 0 rgba(101,45,134,.08); animation: float 6s ease-in-out infinite; }
.floating-note span { font: 8px var(--mono); color: var(--muted); }
.floating-note p { margin: 0; font-size: 10px; line-height: 1.35; text-transform: uppercase; }
.floating-note b { font-family: var(--display); font-size: 14px; }
.note-one { left: 7%; top: 27%; transform: rotate(-4deg); }
.note-two { right: 7%; top: 33%; transform: rotate(5deg); animation-delay: -2s; }
.note-three { right: 12%; bottom: 10%; transform: rotate(-3deg); animation-delay: -4s; }
.orbit { position: absolute; width: 620px; height: 620px; border: 1px solid rgba(101,45,134,.12); border-radius: 50%; pointer-events: none; animation: rotate 28s linear infinite; }
.orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); top: 20%; left: 7%; box-shadow: 0 0 0 7px rgba(101,45,134,.12); }
.orbit-one { left: -390px; top: 22%; }
.orbit-two { right: -400px; bottom: -20%; width: 720px; height: 720px; animation-direction: reverse; animation-duration: 36s; }
.orbit-two i { background: var(--accent); top: 9%; left: 67%; box-shadow: 0 0 0 7px rgba(168,85,247,.14); }

.manifesto { padding: 120px clamp(24px, 7vw, 110px); }
.section-kicker { color: var(--muted); }
.manifesto-copy { margin: 50px 0 120px; font-family: var(--display); font-weight: 600; font-size: clamp(35px, 5.3vw, 76px); letter-spacing: -.06em; line-height: 1.05; }
.manifesto-copy p { margin: 5px 0; }
.manifesto-copy p:not(.accent-line) { color: #b0acba; }
.accent-line { position: relative; display: inline-block; }
.accent-line::after { content: ''; position: absolute; height: 10px; left: 0; right: 0; bottom: -15px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s ease; }
.accent-line.in-view::after { transform: scaleX(1); }
.pathways { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.pathways article { min-height: 430px; padding: clamp(28px, 5vw, 68px); display: flex; flex-direction: column; align-items: flex-start; }
.pathways article:first-child { background: var(--surface); }
.pathways article + article { border-left: 1px solid var(--ink); background: var(--ink); color: var(--surface); }
.path-number { font: 9px var(--mono); letter-spacing: .1em; }
.pathways h2 { margin: 70px 0 20px; font: 600 clamp(36px, 4.3vw, 62px)/.95 var(--display); letter-spacing: -.055em; }
.pathways p { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
.pathways article + article p { color: #c8cbd2; }
.pathways button { margin-top: auto; padding: 13px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font: 500 10px var(--mono); text-transform: uppercase; cursor: pointer; }
.pathways button span { display: inline-block; margin-left: 22px; transition: transform .2s; }
.pathways button:hover span { transform: translateX(5px); }

.ticker { overflow: hidden; border-block: 1px solid var(--primary); background: var(--accent); color: white; transform: rotate(-1.5deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 34px; padding: 18px 0; animation: marquee 28s linear infinite; font: 600 23px var(--display); letter-spacing: -.03em; }
.ticker-track i { font-style: normal; font-size: 13px; }

.closing { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; padding: 150px clamp(24px, 7vw, 110px) 110px; }
.closing h2 { margin: 0; font: 600 clamp(57px, 9vw, 140px)/.82 var(--display); letter-spacing: -.085em; }
.closing h2 em { color: var(--accent); font-weight: 500; }
.closing-action { padding-bottom: 10px; }
.closing-action > p { margin: 0 0 32px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.primary-cta.dark { background: var(--ink); color: white; border-color: var(--ink); }
.primary-cta.dark i { background: var(--accent); color: white; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 30px clamp(24px, 4vw, 72px); border-top: 1px solid var(--line); }
footer p { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
footer p span { color: var(--ink); }
footer nav { justify-self: end; display: flex; gap: 8px; }
footer nav a { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 9px var(--mono); transition: .2s; }
footer nav a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

.waitlist-modal {
  width: min(600px, calc(100% - 30px));
  padding: 60px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--accent);
  overflow: hidden;
}
.waitlist-modal::backdrop { background: rgba(31,41,55,.7); backdrop-filter: blur(6px); }
.waitlist-modal[open] { animation: modalIn .35s ease both; }
.modal-close { position: absolute; z-index: 2; right: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 22px; cursor: pointer; transition: transform .2s; }
.modal-close:hover { transform: rotate(90deg); }
.modal-orb { position: absolute; right: -80px; top: -100px; width: 240px; height: 240px; border-radius: 50%; background: var(--accent-soft); filter: blur(2px); opacity: .85; }
.waitlist-modal h2 { position: relative; margin: 0 0 24px; font: 600 clamp(40px, 6vw, 68px)/.9 var(--display); letter-spacing: -.065em; }
.modal-copy { max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.waitlist-modal form { margin-top: 34px; }
.waitlist-modal label { display: block; margin-bottom: 9px; font: 9px var(--mono); text-transform: uppercase; }
.email-row { display: flex; border-bottom: 1px solid var(--ink); padding-bottom: 8px; gap: 8px; }
.email-row input { flex: 1; min-width: 0; padding: 13px 4px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.form-message { min-height: 20px; margin: 10px 0 0; font: 10px var(--mono); }
.form-message.error { color: #c43a24; }
.form-message.success { color: #407f27; }
.waitlist-modal > small { color: #93958e; font-size: 9px; }
.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; }

.reveal { opacity: 0; transform: translateY(22px); animation: reveal .75s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal-delay-1 { animation-delay: .12s; }
.reveal-delay-2 { animation-delay: .23s; }
.reveal-delay-3 { animation-delay: .34s; }
.reveal-delay-4 { animation-delay: .45s; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(168,85,247,0); } }
@keyframes launchPulse { 70%, 100% { box-shadow: 0 0 0 7px rgba(168,85,247,0); } }
@keyframes launchShimmer { 0%, 62% { transform: translateX(-110%); } 82%, 100% { transform: translateX(110%); } }
@keyframes float { 50% { margin-top: -9px; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr 1fr; height: 78px; }
  .launch-status { display: none; }
  .hero { min-height: 830px; padding-inline: 42px; }
  .hero-grid { inset-block-start: 78px; }
  .floating-note { display: none; }
  .orbit { opacity: .65; }
  .manifesto { padding-top: 90px; }
  .manifesto-copy { margin-bottom: 80px; }
  .pathways h2 { margin-top: 50px; }
  .closing { grid-template-columns: 1fr; gap: 50px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { display: none; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 20px; }
  .brand { font-size: 16px; }
  .nav-cta { font-size: 9px; }
  .hero { min-height: 790px; padding: 130px 20px 60px; align-items: center; }
  .hero-content { margin-top: -20px; }
  .launch-pill { margin-bottom: 18px; }
  .eyebrow { margin-bottom: 20px; font-size: 8px; }
  h1 { font-size: clamp(48px, 15vw, 66px); line-height: .98; }
  .idea-word::after { border-width: 1.5px; }
  .hero-copy { margin-block: 28px; font-size: 13px; line-height: 1.65; }
  .smart-search { grid-template-columns: auto 1fr auto; border-radius: 16px; padding: 7px 7px 7px 15px; gap: 9px; }
  .smart-search kbd { display: none; }
  .smart-search button { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; font-size: 0; }
  .smart-search button span { font-size: 16px; }
  .smart-search input { font-size: 12px; }
  .suggestions { inset-inline: 4px; }
  .suggestions small { display: none; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .vertical-word { display: none; }
  .orbit-one { left: -540px; }
  .orbit-two { right: -600px; }
  .manifesto { padding: 80px 20px; }
  .manifesto-copy { margin: 38px 0 68px; font-size: 37px; }
  .accent-line::after { height: 6px; bottom: -9px; }
  .pathways { grid-template-columns: 1fr; }
  .pathways article { min-height: 370px; padding: 34px 28px; }
  .pathways article + article { border-left: 0; border-top: 1px solid var(--ink); }
  .pathways h2 { font-size: 41px; }
  .ticker-track { font-size: 18px; padding-block: 14px; }
  .closing { padding: 110px 20px 80px; }
  .closing h2 { font-size: 67px; }
  footer { padding-inline: 20px; }
  .footer-brand { font-size: 14px; }
  .waitlist-modal { padding: 54px 24px 35px; box-shadow: 7px 7px 0 var(--accent); }
  .email-row { flex-direction: column; border: 0; }
  .email-row input { border-bottom: 1px solid var(--ink); }
  .email-row button { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor-glow { display: none; }
}
